csh pleasures

Paul Falstad pfalstad at phoenix.Princeton.EDU
Fri Feb 8 05:30:26 AEST 1991


tve at sprite.berkeley.edu (Thorsten von Eicken) wrote:
>  if($a) then
>     if($b) then

This is a known bug.  To fix it you can put a space between the 'if' and
the '(' that starts the condition.  csh is too stupid to see the 'if'
if it is not followed by a space.  Use a real shell.  (sh, ksh, ... )

--
Paul Falstad, pfalstad at phoenix.princeton.edu PLink:HYPNOS GEnie:P.FALSTAD
10 PRINT "PRINCETON CS"          | #include <std.disclaimer.h>
20 GOTO 10                       | [Your blood pressure just went up.]
Princeton University would like to apologize to everyone for this article.



More information about the Comp.unix.wizards mailing list