csh question

lcc.bob%ucla-locus at sri-unix.UUCP lcc.bob%ucla-locus at sri-unix.UUCP
Sat Feb 25 07:08:46 AEST 1984


From:            Bob English <lcc.bob at ucla-locus>

"csh" messes up on nested "if" statements (at least in 4.1).  It's
really that simple.  "if ... fi" is a bourne shell construction, and,
while aesthetically more satisfying, meaningless to the poor C-shell.
Furthermore, "csh" does its own expression testing; the program
"test is not being called...not even through its "[" alias.

I'm afraid you'll have to find a different way to do the test (or
fix "csh").

--bob--



More information about the Comp.unix mailing list