version 1.16, 2018/07/13 16:59:46 |
version 1.17, 2019/02/15 02:49:24 |
|
|
To run a command with arguments, enclose both in quotes. |
To run a command with arguments, enclose both in quotes. |
.El |
.El |
.Pp |
.Pp |
The script ends when the forked program exits (a control-D |
The script ends when the forked program exits (an |
.Pq Ql ^D |
|
to exit |
|
the Bourne shell |
|
.Pf ( Xr sh 1 ) , |
|
and |
|
.Ic exit , |
.Ic exit , |
.Ic logout , |
.Ic logout , |
or control-D |
or control-D |
(if |
.Pq Ql ^D |
.Va ignoreeof |
will exit most interactive shells). |
is not set) for the |
|
C-shell, |
|
.Xr csh 1 ) . |
|
.Nm |
.Nm |
will exit with the status of 0 unless any of its child |
will exit with the status of 0 unless any of its child |
processes fail. |
processes fail, in which case, |
In which case, |
|
.Nm |
.Nm |
will return 1. |
will return 1. |
.Pp |
.Pp |