&& and || backwards?

Richard Goerwitz goer at sophist.uucp
Sun Feb 4 20:16:52 AEST 1990


I've noticed odd behavior in my csh.  It seems to reverse the
meanings of && and ||.  This can be illustrated easily.  I
type in,

    false (or whatever) && echo 'got to here'

and I get "got to here."  I've only heard of this happening
with old or buggy csh versions.  Is this what I am getting
with Xenix 2.3.2 (that's what I'm running)?

While I'm at it, does anyone have any recommendations as to
where I might find a copy of tcsh (or just a better csh) that
will run under Xenix?

   -Richard L. Goerwitz              goer%sophist at uchicago.bitnet
   goer at sophist.uchicago.edu         rutgers!oddjob!gide!sophist!goer



More information about the Comp.unix.xenix mailing list