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