Bourne shell compound commands
A compound command is one of the following.
- Pipeline (one or more simple commands separated by the pipe (
|) symbol) - List of simple commands
- Command beginning with a reserved word
- Command beginning with the control operator left parenthesis (
()
Unless otherwise stated, the value returned by a compound command is that of the last simple command executed.