-   Programming (
-   -   Script arguments (

jnusa 12-20-2004 02:23 AM

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

jnusa 12-20-2004 02:38 AM

Nevermind. Had seen the lrange function, but not the lindex.

send_user "lindex $argv 2"
sends the 3rd arguments to user. Guess that is what I should use...

All times are GMT -5. The time now is 09:28 AM.