WAIT(1)WAIT(1)NAMEwait - await completion of process
SYNOPSISwaitDESCRIPTION
Wait until all processes started with & have completed, and report 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 ALSOsh(1)BUGS
Not all the processes of a 3- or more-stage pipeline are children of
the Shell, and thus can't be waited for. (This bug does not apply to
csh(1).)
7th Edition April 29, 1985 WAIT(1)