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
1 changed files with 14 additions and 17 deletions

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
.\" 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
a (syntactically correct) reserved word.
For example,
.Pp
.Bl -inset -indent -compact
.It Ic { echo foo; echo bar; }
.It Ic { echo foo; echo bar<newline> }
.It Ic { { echo foo; echo bar; } }
.El
.Bd -unfilled -offset -indent
.Ic { echo foo; echo bar; }
.Ic { echo foo; echo bar<newline> }
.Ic { { echo foo; echo bar; } }
.Ed
.Pp
are all valid, but
.Pp
.Bl -inset -indent -compact
.It Ic { echo foo; echo bar }
.El
.Bd -unfilled -offset -indent
.Ic { echo foo; echo bar }
.Ed
.Pp
is not.
.Bl -tag -width Ds
@ -1675,7 +1673,6 @@ is a decimal integer specifying the base, and
is a number in the specified base.
.Pp
The operators are evaluated as follows:
.Pp
.Bl -tag -width Ds -offset indent
.It unary Ic \&+
Result is the argument (included for completeness).
@ -2089,9 +2086,9 @@ Test.
In
.Tn POSIX
mode, the expression
.Ql Fl t
.Sq Fl t
(preceded by some number of
.Ql Ic \&!
.Sq Ic \&!
arguments) is always true as it is a non-zero length string; in
.Pf non- Tn POSIX
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.
.It Xo Ic print
.Oo Fl nprsu Ns Ar n No \&|
.Fl R No Op Fl en Oc
.Fl R Op Fl en Oc
.Op Ar argument ...
.Xc
.Ic print
@ -3191,9 +3188,9 @@ is
or unset, if it has embedded spaces (i.e.,
.Ev IFS
characters), or if it is a unary operator like
.Ql Ic \&!
.Sq Ic \&!
or
.Ql Fl n .
.Sq Fl n .
Use tests like
.Ic if \&[ \&"X$foo\&" = Xbar \&]
instead.