try this
Posted to
tcl
by mjanssen at Fri Jul 22 17:18:00 GMT 2011
view raw
#!/usr/bin/expect -f
log_user 0
spawn "/bin/ls"
expect
eof
puts
" this is the outptu ---> '
$expect_out(buffer)
'."
Recent Posts
tcl by mookie
1 days ago
tcl by schelte
6 days ago
tcl by mookie
14 days ago
tcl by schelte
18 days ago
tcl by schelte
19 days ago
tcl by mookie
23 days ago
tcl by mookie
25 days ago
tcl by mookie
29 days ago
tcl by mookie
29 days ago
tcl by Army
31 days ago
Submit
New paste
Documentation
From Jabber