[geeks] quick expect/shell question
Bill Bradford
mrbill at mrbill.net
Fri Apr 7 12:28:42 CDT 2006
On Fri, Apr 07, 2006 at 01:27:40PM -0400, Sridhar Ayengar wrote:
> If I'm not quite mistaken, it should be something like [lindex $argv 0],
> [lindex $argv 1], etc.
Yep I just figured it out a couple minutes ago.
Added these three lines at the top:
set username [lindex $argv 0] set password [lindex $argv 1]
set duration [lindex $argv 2]
Then I just used $username $password and $duration.
Thanks.
Bill
--
Bill Bradford
Houston, Texas
More information about the geeks
mailing list