bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'wait -n' with and without id arguments


From: Chet Ramey
Subject: Re: 'wait -n' with and without id arguments
Date: Wed, 7 Aug 2024 10:17:09 -0400
User-agent: Mozilla Thunderbird

On 7/31/24 11:40 AM, Zachary Santer wrote:

Thanks for your updates to the manual.

"Wait for each specified child process id and return the termination
status of the last id."
Would it be better to say "Wait for each specified child process id
and return the termination status of the last id argument," to
emphasize that it's not returning the termination status of the last
process to terminate from among those whose ids are listed?

That's a pretty tortured reading.


"Otherwise, the return status is the exit status of the last id."
Is that correct? The final paragraph is in reference to 'wait -n',
right? It could return the exit status of any one of the processes
whose ids are listed.

It is not. That language predates `wait -n'. The behavior of `wait -n' is
completely specified in one paragraph.


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]