Posted to tcl by mjanssen at Fri Jul 22 17:18:00 GMT 2011view pretty
#!/usr/bin/expect -f log_user 0 spawn "/bin/ls" expect eof puts " this is the outptu ---> '$expect_out(buffer)'."
#!/usr/bin/expect -f log_user 0 spawn "/bin/ls" expect eof puts " this is the outptu ---> '$expect_out(buffer)'."