sync with latest ksh.1tbl
This commit is contained in:
28
sh.1tbl
28
sh.1tbl
@@ -1,6 +1,6 @@
|
|||||||
.\" $MirBSD: sh.1tbl,v 1.7 2004/04/07 17:14:13 tg Exp $
|
.\" $MirBSD: sh.1tbl,v 1.8 2004/05/23 13:03:17 tg Exp $
|
||||||
.\" _MirBSD: ksh.1tbl,v 1.19 2004/04/07 16:54:01 tg Exp $
|
.\" _MirBSD: src/bin/ksh/ksh.1tbl,v 1.25 2004/05/23 13:01:35 tg Exp $
|
||||||
.\" $OpenBSD: ksh.1tbl,v 1.65 2004/01/23 23:08:45 jmc Exp $
|
.\" $OpenBSD: ksh.1tbl,v 1.70 2004/05/09 06:07:42 otto Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1980, 1990, 1993
|
.\" Copyright (c) 1980, 1990, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
@@ -368,8 +368,8 @@ to the standard input of the following command.
|
|||||||
The exit status of a pipeline is that of its last command.
|
The exit status of a pipeline is that of its last command.
|
||||||
A pipeline may be prefixed by the
|
A pipeline may be prefixed by the
|
||||||
.Ql \&!
|
.Ql \&!
|
||||||
reversed word which causes the exit status of the pipeline to be logically
|
reserved word, which causes the exit status of the pipeline to be logically
|
||||||
complemented: if the original status was 0 the complemented status will be 1;
|
complemented: if the original status was 0, the complemented status will be 1;
|
||||||
if the original status was not 0, the complemented status will be 0.
|
if the original status was not 0, the complemented status will be 0.
|
||||||
.Pp
|
.Pp
|
||||||
.Em Lists
|
.Em Lists
|
||||||
@@ -552,7 +552,7 @@ is set to the word and
|
|||||||
is executed.
|
is executed.
|
||||||
If
|
If
|
||||||
.Ic in
|
.Ic in
|
||||||
is not used to specify a word list, the positional parameters ($1, $2, etc.)
|
is not used to specify a word list, the positional parameters ($1, $2, etc.\&)
|
||||||
are used instead.
|
are used instead.
|
||||||
For historical reasons, open and close braces may be used instead of
|
For historical reasons, open and close braces may be used instead of
|
||||||
.Ic do
|
.Ic do
|
||||||
@@ -735,7 +735,7 @@ automatically tracked:
|
|||||||
.Ic date , ed , emacs , grep ,
|
.Ic date , ed , emacs , grep ,
|
||||||
.Ic ls , mail , make , mv ,
|
.Ic ls , mail , make , mv ,
|
||||||
.Ic pr , rm , sed , sh ,
|
.Ic pr , rm , sed , sh ,
|
||||||
.Ic vi ,
|
.Ic vi
|
||||||
and
|
and
|
||||||
.Ic who .
|
.Ic who .
|
||||||
.Ss Substitution
|
.Ss Substitution
|
||||||
@@ -785,9 +785,9 @@ Example: If
|
|||||||
.Ev IFS
|
.Ev IFS
|
||||||
is set to
|
is set to
|
||||||
.Dq <space>: ,
|
.Dq <space>: ,
|
||||||
and VAR is set to
|
the sequence of characters
|
||||||
.Dq <space>A<space>:<space><space>B::D ,
|
.Dq <space>A<space>:<space><space>B::D
|
||||||
the substitution for $VAR results in four fields:
|
contains four fields:
|
||||||
.Sq A ,
|
.Sq A ,
|
||||||
.Sq B ,
|
.Sq B ,
|
||||||
.Sq ""
|
.Sq ""
|
||||||
@@ -795,8 +795,7 @@ and
|
|||||||
.Sq D .
|
.Sq D .
|
||||||
Note that if the
|
Note that if the
|
||||||
.Ev IFS
|
.Ev IFS
|
||||||
parameter is set to the
|
parameter is set to the null
|
||||||
.Dv NULL
|
|
||||||
string, no field splitting is done; if the parameter is unset, the default
|
string, no field splitting is done; if the parameter is unset, the default
|
||||||
value of space, tab, and newline is used.
|
value of space, tab, and newline is used.
|
||||||
.Pp
|
.Pp
|
||||||
@@ -1222,7 +1221,7 @@ above for details.
|
|||||||
This parameter is not imported from the environment when the shell is
|
This parameter is not imported from the environment when the shell is
|
||||||
started.
|
started.
|
||||||
.It Ev SH_VERSION
|
.It Ev SH_VERSION
|
||||||
The version of shell and the date the version was created (read-only).
|
The version of the shell and the date the version was created (read-only).
|
||||||
.It Ev LINENO
|
.It Ev LINENO
|
||||||
The line number of the function or shell script that is currently being
|
The line number of the function or shell script that is currently being
|
||||||
executed.
|
executed.
|
||||||
@@ -3752,6 +3751,7 @@ signal and the shell exits.
|
|||||||
.It Pa /etc/suid_profile
|
.It Pa /etc/suid_profile
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
|
.Xr arc4random 1 ,
|
||||||
.Xr awk 1 ,
|
.Xr awk 1 ,
|
||||||
.Xr csh 1 ,
|
.Xr csh 1 ,
|
||||||
.Xr ed 1 ,
|
.Xr ed 1 ,
|
||||||
@@ -3867,7 +3867,7 @@ For another known bug, refer to the comment above the
|
|||||||
paragraph in the section
|
paragraph in the section
|
||||||
.Sx Emacs editing mode
|
.Sx Emacs editing mode
|
||||||
in
|
in
|
||||||
.Xr ksh 3 .
|
.Xr ksh 1 .
|
||||||
.br
|
.br
|
||||||
The
|
The
|
||||||
.Mx
|
.Mx
|
||||||
|
Reference in New Issue
Block a user