commit bash-20190612 snapshot

This commit is contained in:
Chet Ramey
2019-06-14 09:31:42 -04:00
parent 653d7134f8
commit f602910792
24 changed files with 1256 additions and 1099 deletions
+5 -2
View File
@@ -8117,8 +8117,11 @@ Wait until the child process specified by each process @sc{id} @var{pid}
or job specification @var{jobspec} exits and return the exit status of the
last command waited for.
If a job spec is given, all processes in the job are waited for.
If no arguments are given, all currently active child processes are
waited for, and the return status is zero.
If no arguments are given,
@code{wait} waits for all running background jobs and
the last-executed process substitution, if its process id is the same as
@var{$!},
and the return status is zero.
If the @option{-n} option is supplied, @code{wait} waits for a single job
to terminate and returns its exit status.
Supplying the @option{-f} option, when job control is enabled,