Xref: utzoo comp.unix.xenix:5324 comp.sys.tandy:1173 Path: utzoo!attcan!uunet!dasys1!jpr From: jpr@dasys1.UUCP (Jean-Pierre Radley) Newsgroups: comp.unix.xenix,comp.sys.tandy Subject: csh bug Keywords: csh Message-ID: <8972@dasys1.UUCP> Date: 12 Mar 89 21:46:16 GMT Reply-To: jpr@dasys1.UUCP (Jean-Pierre Radley) Organization: TANGENT Lines: 21 When I was running 'csh' on a Tandy 6000, and now that I'm running 'csh on a Tandy 4000, using SCO Xenix 2.2.4, and running csh on the Unistride system I am at the moment logged in to, I have this bug: % date && date Sun Mar 12 16:37:14 EST 1989 % sh -c "date && date" Sun Mar 12 16:37:52 EST 1989 Sun Mar 12 16:37:52 EST 1989 % date || date Sun Mar 12 16:38:25 EST 1989 Sun Mar 12 16:38:25 EST 1989 % sh -c "date || date" Sun Mar 12 16:38:48 EST 1989 Seems to me that the meanings of the '&&' and '||' operators have been reversed in csh... -- Jean-Pierre Radley Honi soit jpr@dasys1.UUCP New York, New York qui mal ...!hombre!jpradley!jpr CIS: 76120,1341 y pense ...!hombre!trigere!jpr