On 1/30/24 4:28 PM, Chet Ramey wrote:
It's not a bug, bash has allowed multiple waits for the same pid for decades. bash works the way posix says it should for wait (without -n) in posix mode.
I think this is a bug in bash posix mode, actually. `wait -n' should remove the job completely, since it's been `successfully waited for' and the language you quoted came out of interp 1254 and will be in the next revision. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature