I get error testing the script...have not been able to figure out y...any idea?
this is waht I get:
[gii]:/checker>sh -x toy.sh
+ echo in shell part
in shell part
+ /usr/bin/perl -x toy.sh
Semicolon seems to be missing at toy.sh line 4.
Unquoted string "echo" may clash with future reserved word at toy.sh l
+ine 5.
syntax error at toy.sh line 5, near "echo "
String found where operator expected at toy.sh line 5, near "echo "bac
+k in shell
""
(Do you need to predeclare echo?)
Execution of toy.sh aborted due to compilation errors.
FOO=
+ echo
+ echo perl said
perl said
+ echo back in shell
back in shell