"Bernard Giroud" <[EMAIL PROTECTED]> writes:

> Does POSIX specify all exit codes that might be returned from utilities ?

It specifies them in some cases, but not all.  For example, for "diff"
0 means success, 1 means differences, >1 means error.  For "env" 0
means success, 127 means not found, 126 means not invokable, and 1-125
means some other error.  There are other weird cases like that.

> Have you a pointer to the POSIX docs ?

http://www.unix.org/single_unix_specification/

> Might it be possible to use a
> scheme like values greater than 63 are warnings else errors...?

I suspect that'd be difficult to achieve.  It sounds simpler to put a
wrapper between exit/_exit and the VMS exit.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to