Hi, Török Edwin wrote[1]:
> $ wait 1 > bash: wait: pid 1 is not a child of this shell > > The manpage of bash, dash and wait should mention that the PID has to be a > child of the shell. How about this patch? (Should be applicable to the "devel" branch by saving this message in mbox format and applying with "git am --scissors".) -- >8 -- Subject: bash.1: processes waited for by "wait" are children Reported-by: Török Edwin <ed...@etorok.net> --- Thanks, Jonathan [1] http://bugs.debian.org/714743 doc/bash.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bash.1 b/doc/bash.1 index fb4795a..58da8ce 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -10071,7 +10071,7 @@ subsequently reset. The exit status is true unless a is readonly. .TP \fBwait\fP [\fB\--n\fP] [\fIn ...\fP] -Wait for each specified process and return its termination status. +Wait for each specified child process and return its termination status. Each .I n may be a process