WAIT(1) — Unix Programmer’s Manual
NAME
wait − await completion of process
SYNOPSIS
wait
DESCRIPTION
This command waits until all background processes (processes started with &) have completed, then reports on abnormal terminations.
Because the wait(2) system call must be executed in the parent process, the Shell itself executes wait, without creating a new process.
SEE ALSO
BUGS
Not all the processes of a 3- or more-stage pipeline are children of the Shell; thus, these processes cannot be waited for. (This bug does not apply to csh(1).)
INTEGRATED SOLUTIONS 4.3 BSD — April 29, 1985