Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ksh Fix bin/5205 (weird interaction between tbl and man ...
details: https://anonhg.NetBSD.org/src/rev/2112fc3bd397
branches: trunk
changeset: 521379:2112fc3bd397
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Jan 29 15:12:54 2002 +0000
description:
Fix bin/5205 (weird interaction between tbl and man macros).
diffstat:
bin/ksh/ksh.Man | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r 5c538956382c -r 2112fc3bd397 bin/ksh/ksh.Man
--- a/bin/ksh/ksh.Man Tue Jan 29 13:13:47 2002 +0000
+++ b/bin/ksh/ksh.Man Tue Jan 29 15:12:54 2002 +0000
@@ -1,5 +1,5 @@
'\" t
-.\" $NetBSD: ksh.Man,v 1.5 2001/11/11 21:09:34 jwise Exp $
+.\" $NetBSD: ksh.Man,v 1.6 2002/01/29 15:12:54 wiz Exp $
.\"{{{}}}
.\"{{{ Notes about man page
.\" - use the pseudo-macros .sh( and .sh) to begin and end sh-specific
@@ -2204,14 +2204,13 @@
The following basic expressions are available:
.sp
.TS
-afB ltw(2.8i).
+afB ltw(3.2i).
\fIstr\fP T{
\fIstr\fP has non-zero length. Note that there is the potential
for problems if \fIstr\fP turns out to be an operator (\fIe.g.\fP, \fB-r\fP)
- it is generally better to use a test like
-.RS
+.ce
\fB[ X"\fP\fIstr\fP\fB" != X ]\fP
-.RE
instead (double quotes are used in case \fIstr\fP contains spaces or file
globing characters).
T}
@@ -2279,9 +2278,8 @@
shell \fIoption\fP is set (see \fBset\fP command above for list of options).
As a non-standard extension, if the option starts with a \fB!\fP, the test
is negated; the test always fails if option doesn't exist (thus
-.RS
+.ce
\fB[ -o \fP\fIfoo\fP \fB-o -o !\fP\fIfoo\fP \fB]\fP
-.RE
returns true if and only if option \fIfoo\fP exists).
T}
\fIfile\fP \-nt \fIfile\fP T{
Home |
Main Index |
Thread Index |
Old Index