I am having some difficulty with rsh and shell scripts.
What I have is a shell script that processes 4 different values from the command line.
For example:
#!/bin/sh
if($1=="1) then
do this
endif
if($2=="1) then
do this
end
and so on...
The script is called by:
>script.sh var1 var2 var3 var4
My problem is calling this script and providing it with values with rsh.
Can someone provide me with the syntax for rsh to do this?
Thanks,
Chris
What I have is a shell script that processes 4 different values from the command line.
For example:
#!/bin/sh
if($1=="1) then
do this
endif
if($2=="1) then
do this
end
and so on...
The script is called by:
>script.sh var1 var2 var3 var4
My problem is calling this script and providing it with values with rsh.
Can someone provide me with the syntax for rsh to do this?
Thanks,
Chris