Article View: net.xbsd
Article #1Csh true/false
From: ihuxggrg
Date: Thu, 01 Oct 1981 22:12
Date: Thu, 01 Oct 1981 22:12
12 lines
653 bytes
653 bytes
The recent note about csh describes what seems to be not a bug, but the proverbial "feature"!! Csh defines true/false as 1/0, presumably as this is C-like. Bsh (bourne shell, /bin/sh) uses 0/1. While such definitions have some rationale, the problem is the entire program base use exit(0) for success, exit(1) for errors. The inertia of history overweighs any beauty of convention, and the recommended "fix" seems justified. Greg Guthrie BTL.
Technical Details
Message-ID:
<anews.Aihuxg.117>Path:
arc1-ca.pugleaf.net!utzoo!decvax!duke!mhtsa!ihnss!ihuxk!ihuxg!grgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!duke!mhtsa!ihnss!ihuxk!ihuxg!grg From: ihuxg!grg Newsgroups: net.xbsd Subject: Csh true/false Date: Thu, 01 Oct 1981 22:12:50 +0000 Message-ID: <anews.Aihuxg.117>