slartibartfast wrote:
> If I run
> /home/tc/my script.sh
> without the -S
> I get
> /home/tc/my script.sh: line 17: syntax error: unexpected word (expecting
> "in")
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/my script.sh 1
/home/tc/my script.sh 2
/home/tc/my script.sh 0
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=112760
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix