Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!princeton!phoenix.Princeton.EDU!pfalstad From: pfalstad@phoenix.Princeton.EDU (Paul Falstad) Newsgroups: comp.unix.wizards Subject: Re: csh pleasures Message-ID: <6034@idunno.Princeton.EDU> Date: 7 Feb 91 18:30:26 GMT References: <10880@pasteur.Berkeley.EDU> Sender: news@idunno.Princeton.EDU Organization: The Royal Society For Putting Things On Top Of Other Things Lines: 13 tve@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@phoenix.princeton.edu PLink:HYPNOS GEnie:P.FALSTAD 10 PRINT "PRINCETON CS" | #include 20 GOTO 10 | [Your blood pressure just went up.] Princeton University would like to apologize to everyone for this article.