Hello, all...
I'm trying to develop and debug a subset control program for use with
the Tru64 'setld' installation utility. The problem is, the large
"case" statement within the SCP doesn't get handled correctly. The
actual text of the error when installing the subset is:
"/var/tmp/stltmp23623/STMAPI620.scp: syntax error at line 393: `end of
file' unexpected"
By using "set -x" and "set -v" commands within the SCP, I can see that
setld is actually reading until the very end of the SCP file, even past
the ";;" and "esac" lines. I suppose there is a syntax error or script
formatting error somewhere, but the shell isn't too forgiving or
helpful.
Are there any special handling or formatting considerations of which I
should be aware? I've reviewed several of the Tru64 system SCP scripts,
but haven't spotted any glaring errors, by comparison. OTOH, I've seen
extra blank lines and ";;" lines at the bottom of some system scripts.
Thanks in advance for any assistance,
Keith Benoit
C*te, NC