Aihuxg.117
net.xbsd
utzoo!decvax!duke!mhtsa!ihnss!ihuxk!ihuxg!grg
Thu Oct  1 22:12:50 1981
Csh true/false
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.

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.