diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-07-07 14:11:59 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-07-07 14:11:59 +0000 |
commit | fb13c314751dfa22717403419fc48b83eb7d5fdd (patch) | |
tree | 94de0d4716fcfe417370b47491e997feb74b666d /bin/ksh/sh.1tbl | |
parent | 1c3f5c1fb7ff6d55a2b926bef61184efc834979e (diff) |
- convert some lists to displays
- .Ql -> .Sq where necessary
- remove some .Pp's before lists
- add missing .El
- remove some wrong macros
Diffstat (limited to 'bin/ksh/sh.1tbl')
-rw-r--r-- | bin/ksh/sh.1tbl | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/bin/ksh/sh.1tbl b/bin/ksh/sh.1tbl index 9215ec72cf1..b564117a55f 100644 --- a/bin/ksh/sh.1tbl +++ b/bin/ksh/sh.1tbl @@ -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. |