csh, exit, &&, || (was Re: exit(-1), 0 is sometimes magic)

Rahul Dhesi dhesi at bsu-cs.UUCP
Mon Jan 25 01:56:20 AEST 1988


In article <10318 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
[saying that && and || in csh now work as advertised]

However, I've never been able to make the following work:

     cd /xyz || echo "/xyz doesn't seem to exist"

Both csh and sh are broken.
-- 
Rahul Dhesi         UUCP:  <backbones>!{iuvax,pur-ee,uunet}!bsu-cs!dhesi



More information about the Comp.unix.questions mailing list