bpa wrote: > When no argument is provided, the argument $1 is evaluated to > blank/empty so the line to be executed is > > Code: -------------------- > > > case in > -------------------- > > > Anything in the powerlog.txt file ? > > I think it has executed (and so there will be a line of text in > powerlog) but is invalid as there has to be a value between "case" and > "in" > > You must supply a non blank argument. > > /home/tc/myscript.sh 1 > /home/tc/myscript.sh 2 > /home/tc/myscript.sh 0
Running sh /home/tc/myscript.sh 1 gives the same response. I really don't know much about pCP, why do I need to add "sh" before the path to the script? ------------------------------------------------------------------------ slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 View this thread: http://forums.slimdevices.com/showthread.php?t=112760 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix