Hola,

I have an expect script which won´t run.  I checked the libraries
needed with ldd ./expect and everything's OK.   Expect runs fine
outside of the shell script.   The script is:

#!../expect -f
set password [lindex $argv 2]
spawn passwd [lindex $argv 1]
expect "*password:"
send "$password\r"
expect "*password:"
send "$password\r"
expect eof
exit


Also tried it as ! /expect ...   No luck.

If anyone knows what's going on, I'd like to
know too.

Thanks.

Jim

[EMAIL PROTECTED]

Reply via email to