On Fri, Aug 9, 2024 at 10:38 AM Chet Ramey <chet.ra...@case.edu> wrote: > > When I source your script on macOS with the current devel build, I get the > set of notification messages and termination with a false argument, and an > infinite loop with a true argument.
So basically, 'wait -n' should be implemented such that sourcing the script with a false argument gives the same behavior as you've seen when sourcing it with a true argument: the infinite loop.