Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

End of expect script syntax question

Status
Not open for further replies.

RFC1795

IS-IT--Management
Feb 13, 2003
76
US
Hi All,

I have some hand me down expect scripts that I've been responsible for the past few years. They all have the following at the end of them:

for {} 1 {} {
expect eof {
exit
}
}

Anybody able to explain exactlly the purpose of this?

The expect scripts are usually called from a normal shell script in a for loop.

Thanks .. T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top