csh if/endif mismatch

Richard Weier weier at twolf4.CE.YALE.EDU
Fri Mar 29 09:03:28 AEST 1991



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 at twolf.ce.yale.edu



More information about the Comp.unix.aux mailing list