Script arguments
I'm using a expect sciprt, that currently use only 1 arguments (fetched by $argv var). I have modified it, and I need it to take several arguments (could be 2 or could be maybe 5 arguments). Could anyone point me in the right direction.
Regards jnusa |
Nevermind. Had seen the lrange function, but not the lindex.
e.g. Code:
send_user "lindex $argv 2" |
All times are GMT -5. The time now is 08:07 AM. |