This commit was generated by cvs2svn to compensate for changes in r45, which

included commits to RCS files with non-trunk default branches.
This commit is contained in:
tg 2003-07-09 15:48:59 +00:00
commit b6c1fb994d

31
sh.1tbl
View File

@ -1,4 +1,4 @@
.\" $OpenBSD: sh.1tbl,v 1.33 2003/06/02 23:32:08 millert Exp $ .\" $OpenBSD: sh.1tbl,v 1.34 2003/07/07 14:11:58 jmc 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.
@ -456,18 +456,16 @@ In the following compound command descriptions, command lists (denoted as
that are followed by reserved words must end with a semicolon, a newline, or that are followed by reserved words must end with a semicolon, a newline, or
a (syntactically correct) reserved word. a (syntactically correct) reserved word.
For example, For example,
.Pp .Bd -unfilled -offset -indent
.Bl -inset -indent -compact .Ic { echo foo; echo bar; }
.It Ic { echo foo; echo bar; } .Ic { echo foo; echo bar<newline> }
.It Ic { echo foo; echo bar<newline> } .Ic { { echo foo; echo bar; } }
.It Ic { { echo foo; echo bar; } } .Ed
.El
.Pp .Pp
are all valid, but are all valid, but
.Pp .Bd -unfilled -offset -indent
.Bl -inset -indent -compact .Ic { echo foo; echo bar }
.It Ic { echo foo; echo bar } .Ed
.El
.Pp .Pp
is not. is not.
.Bl -tag -width Ds .Bl -tag -width Ds
@ -1675,7 +1673,6 @@ is a decimal integer specifying the base, and
is a number in the specified base. is a number in the specified base.
.Pp .Pp
The operators are evaluated as follows: The operators are evaluated as follows:
.Pp
.Bl -tag -width Ds -offset indent .Bl -tag -width Ds -offset indent
.It unary Ic \&+ .It unary Ic \&+
Result is the argument (included for completeness). Result is the argument (included for completeness).
@ -2089,9 +2086,9 @@ Test.
In In
.Tn POSIX .Tn POSIX
mode, the expression mode, the expression
.Ql Fl t .Sq Fl t
(preceded by some number of (preceded by some number of
.Ql Ic \&! .Sq Ic \&!
arguments) is always true as it is a non-zero length string; in arguments) is always true as it is a non-zero length string; in
.Pf non- Tn POSIX .Pf non- Tn POSIX
mode, it tests if file descriptor 1 is a tty (i.e., the mode, it tests if file descriptor 1 is a tty (i.e., the
@ -2578,7 +2575,7 @@ If no arguments are specified, a list of all the signals, their numbers and
a short description of them are printed. a short description of them are printed.
.It Xo Ic print .It Xo Ic print
.Oo Fl nprsu Ns Ar n No \&| .Oo Fl nprsu Ns Ar n No \&|
.Fl R No Op Fl en Oc .Fl R Op Fl en Oc
.Op Ar argument ... .Op Ar argument ...
.Xc .Xc
.Ic print .Ic print
@ -3191,9 +3188,9 @@ is
or unset, if it has embedded spaces (i.e., or unset, if it has embedded spaces (i.e.,
.Ev IFS .Ev IFS
characters), or if it is a unary operator like characters), or if it is a unary operator like
.Ql Ic \&! .Sq Ic \&!
or or
.Ql Fl n . .Sq Fl n .
Use tests like Use tests like
.Ic if \&[ \&"X$foo\&" = Xbar \&] .Ic if \&[ \&"X$foo\&" = Xbar \&]
instead. instead.