csh question - (nf)
chris at umcp-cs.UUCP
chris at umcp-cs.UUCP
Thu Mar 1 05:08:27 AEST 1984
That problem:
if(falsecond)then
stuff
if(cond)then
otherstuff
endif
morestuff
endif
is caused by C-shell braindamage. Inside a false if, "if(thing)then"
is not recognized as a multi-line if.
Solution: either use "if (cond) then" with spaces around the ()s, or,
use the Bourne shell.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci
UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet: chris at umcp-cs ARPA: chris.umcp-cs at CSNet-Relay
More information about the Comp.unix.wizards
mailing list