standards/176916: [patch] sh(1): implement multiple arguments to wait builtin

jilles at jilles at
Fri Mar 15 17:25:53 UTC 2013

Synopsis: [patch] sh(1): implement multiple arguments to wait builtin

Responsible-Changed-From-To: freebsd-standards->jilles
Responsible-Changed-By: jilles
Responsible-Changed-When: Fri Mar 15 17:13:47 UTC 2013
sh(1) is my area.

The wait builtin is indeed required to accept multiple operands
and to treat unknown process IDs as known process IDs that
exited with status 127.

The way you patched getjob seems incorrect as it will still
print an error message. Also, I would like to avoid calling

I will also implement "--" handling and rejection of unknown
options in "wait" first.

About working around the lack of these features, invoking
"wait" with multiple operands is equivalent to invoking it
multiple times with one operand each. Passing unknown process
IDs can be avoided iff there are no trap handlers that do
not exit.

More information about the freebsd-standards mailing list