![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archive[Expect] Need to have explanations for the use of the expect command
From: Andrew Falanga <not_real@hp.com>
Date: Wed Mar 15 2006 - 17:42:12 CET
Hello,
Back to an issue I'd asked for help on some months ago and I'm just now
The script is, basically,
#! /usr/bin/expect
set host [lindex $argv 0]
spawn ssh root@$host "cd logs; ls"
expect {
Actually, that's not just basically the script, it is the script. As
So, how do I properly use the expect command to give this newly spawned
---------------------------------------------
|