nested ifs' in csh dont work?

Guy Harris auspex!guy at uunet.uu.net
Sun Jun 3 04:17:38 AEST 1990


>Due to the way that CSH parses if's, you must separate everything with
>spaces.

If you are ever tempted to write scripts in the C shell, note the
following comment at the end of the SunOS (and now System V Release 4)
"csh" man page, which applies to almost everybody's (if not everybody's)
"csh":

     Although robust enough for general use, adventures into  the
     esoteric  periphery  of  the  C  shell may reveal unexpected
     quirks.

Apparently, the periphery may be closer than you might think....



More information about the Comp.sys.sun mailing list