[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Determining my draft folder
From: |
Steffen Nurpmeso |
Subject: |
Re: [Nmh-workers] Determining my draft folder |
Date: |
Sat, 18 Feb 2017 17:11:22 +0100 |
User-agent: |
s-nail v14.9.0-pre3 |
Ralph Corderoy <address@hidden> 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