mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Remove/simplify historic shell lesson; fix sentence fragment. ok deraadt@
This commit is contained in:
parent
64a70754a4
commit
499b728906
@ -1,4 +1,4 @@
|
||||
.\" $OpenBSD: script.1,v 1.16 2018/07/13 16:59:46 cheloha Exp $
|
||||
.\" $OpenBSD: script.1,v 1.17 2019/02/15 02:49:24 ian Exp $
|
||||
.\" $NetBSD: script.1,v 1.3 1994/12/21 08:55:41 jtc Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1990, 1993
|
||||
@ -30,7 +30,7 @@
|
||||
.\"
|
||||
.\" @(#)script.1 8.1 (Berkeley) 6/6/93
|
||||
.\"
|
||||
.Dd $Mdocdate: July 13 2018 $
|
||||
.Dd $Mdocdate: February 15 2019 $
|
||||
.Dt SCRIPT 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -73,24 +73,15 @@ instead of an interactive shell.
|
||||
To run a command with arguments, enclose both in quotes.
|
||||
.El
|
||||
.Pp
|
||||
The script ends when the forked program exits (a control-D
|
||||
.Pq Ql ^D
|
||||
to exit
|
||||
the Bourne shell
|
||||
.Pf ( Xr sh 1 ) ,
|
||||
and
|
||||
The script ends when the forked program exits (an
|
||||
.Ic exit ,
|
||||
.Ic logout ,
|
||||
or control-D
|
||||
(if
|
||||
.Va ignoreeof
|
||||
is not set) for the
|
||||
C-shell,
|
||||
.Xr csh 1 ) .
|
||||
.Pq Ql ^D
|
||||
will exit most interactive shells).
|
||||
.Nm
|
||||
will exit with the status of 0 unless any of its child
|
||||
processes fail.
|
||||
In which case,
|
||||
processes fail, in which case,
|
||||
.Nm
|
||||
will return 1.
|
||||
.Pp
|
||||
|
Loading…
Reference in New Issue
Block a user