Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!nrl-cmf!ukma!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.unix.questions Subject: Re: csh, exit, &&, || (was Re: exit(-1), 0 is sometimes magic) Message-ID: <1944@bsu-cs.UUCP> Date: 24 Jan 88 15:56:20 GMT References: <502@cresswell.quintus.UUCP> <6935@brl-smoke.ARPA> <1179@wjvax.UUCP> <310@fig.bbn.com> <10318@mimsy.UUCP> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 10 Keywords: exit, zero, shells In article <10318@mimsy.UUCP> chris@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: !{iuvax,pur-ee,uunet}!bsu-cs!dhesi