Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!yale!quasi-eli!cs.yale.edu!twolf4.CE.YALE.EDU!weier From: weier@twolf4.CE.YALE.EDU (Richard Weier) Newsgroups: comp.unix.aux Subject: csh if/endif mismatch Message-ID: <29734@cs.yale.edu> Date: 28 Mar 91 23:03:28 GMT Sender: news@cs.yale.edu Reply-To: weier@twolf.ce.yale.edu Organization: Yale Dept. of Electrical Engineering Lines: 18 Nntp-Posting-Host: twolf4.ce.yale.edu Here is csh code segment which works fine on our DECstation and SUN4 but fails under AUX 2.0. The reported error is that there is an if/else/endif mismatch. Removing the rm command fixes the problem. I would think this is a csh bug. Or am I missing the obvious? if $test !=1 then . . rm *.[yl] . . else . . endif Richard Weier weier@twolf.ce.yale.edu