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 arjen
3 days ago
tcl by cgm
12 days ago
tcl by cgm
12 days ago
tcl by alan
20 days ago
tcl by mookie
42 days ago
tcl by mookie
42 days ago
tcl by mookie
42 days ago
tcl by schelte
44 days ago
tcl by oldlaptop
56 days ago
tcl by oldlaptop
60 days ago
Submit
New paste
Documentation
From Jabber