1

Accepting multiple values in a variable at run time

view story
linux-howto

http://www.unix.com – Hi, Below is starting entry of my script #!/bin/ksh Usage() { print "Usage: $0 ID OPTION SERVER" print "<br>Where :" print "<br>Enter your ID into PARAM1, OPTION in the PARAM2 and SERVER in the PARAM3 field" print "<br>ID should be a valid ID" print "<br>OPTION should be either BOUNCE or STATUS" print "<br>SERVER should be a valid server name<br>" } ID=`print $1 | sed 's/"//g'` OPTION=`print $2 | sed 's/"//g'` SERVER=() for (( i = 1; i <= 4; i++ )) do SERV (HowTos)