Ralph Corderoy <ralph(_at_)inputplus(_dot_)co(_dot_)uk> wrote:
|I wrote:
|> EXIT STATUS
|> mhparam returns the number of components that were not found.
|...
|> $ mhparam `yes | sed 256q`; echo $?
|> 0
|
|I've just pushed to git.
|
| http://git.savannah.nongnu.org/cgit/nmh.git/commit/?id=e8eb3afba50cbec8\
| d1aeabcf85a06084977d54cd
|
| Limit mhparam's exit status to 120 missing components.
| Otherwise, 126 and 127 would clash with bash and zsh's use.
| Higher than 127 would look like signals. And 256 would wrap
| to a falsely succesful zero.
Jörg Schilling pushed the 32-bit exit status for a future POSIX
version. In how far this affects shells etc., … i haven't really
followed the discussion.
--steffen
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers