Csh true/false

utzoo!decvax!duke!mhtsa!ihnss!ihuxk!ihuxg!grg utzoo!decvax!duke!mhtsa!ihnss!ihuxk!ihuxg!grg
Thu Oct 1 22:12:50 AEST 1981


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.



More information about the Net.xbsd mailing list