Bourne shell syntax problem?
Jeff Beadles
jeff at onion.rain.com
Sun Apr 21 10:32:01 AEST 1991
In croten at ltpsun.gsfc.nasa.gov (Charles D. Roten) writes:
> I am having trouble getting a Bourne shell to run, and have come to
>suspect that the problem is in the section where I parse the variables.
>The script is rather long (~260 lines) so I will only include the suspect
>portion.
>
...
> *) if test "$data" = ""; then
> data=$i
> elif test "$normal = ""; then
^^^
The problem is that you are missing a quote. This is probably one of the
harder-to-find bugs with a shell script.
Have fun!
-Jeff
--
Jeff Beadles jeff at onion.rain.com
More information about the Comp.unix.questions
mailing list