passing variable through script (bash)
Hi, when I do
/etc/init.d/%script% %variable%.
I can pass a string variable from the current script to the script that I want to run by
case in
(var1
...
(var2
...
easc
but is there a more convenient way to pass a variable? can I not call the variable directly, eg. $var?
Thanks,
Ted
|