man.bsd.lv manual page server

Manual Page Search Parameters
WAIT(1) General Commands Manual WAIT(1)

wait - await completion of process

wait

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.

sh(1)

Not all the processes of a 3- or more-stage pipeline are children of the Shell, and thus can't be waited for.

UNIX-7