Date: Mon, 1 Apr 2002 18:20:02 -0800 (PST) From: <trhodes@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: Re: docs/36448: [PATCH] intro(8) Message-ID: <200204020220.g322K2s30257@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/36448; it has been noted by GNATS. From: <trhodes@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: docs/36448: [PATCH] intro(8) Date: Mon, 1 Apr 2002 18:19:50 -0800 (PST) Gary, what do you think of the following patch to intro(8)? -- Tom (darklogik) Rhodes --- intro.8.old Mon Apr 1 21:05:13 2002 +++ intro.8 Mon Apr 1 21:06:52 2002 @@ -65,6 +65,19 @@ .Ql Xr crash should be consulted to understand how to interpret system crash dumps. + +.Pp +All commands set an exit status. Its value may be tested +to see if the command completed normally. +Unless otherwise noted (rare), the value 0 signifies successful +completion of the command, while a value >0 indicates an error. +Some commands attempt to describe the nature of the failure by using +errors codes defined in +.Xr sysexits 3 , +or set the status to arbitrary values >0 (typically 1), but many +such values are not described in the manuals. + + .Sh HISTORY The .Nm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204020220.g322K2s30257>