🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.xbsd
Article #1

Csh true/false

#1
From: ihuxggrg
Date: Thu, 01 Oct 1981 22:12
12 lines
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!grg

Show 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>