Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/expr Add some articles.
details: https://anonhg.NetBSD.org/src/rev/fb3f7262e35e
branches: trunk
changeset: 556593:fb3f7262e35e
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Dec 21 11:18:25 2003 +0000
description:
Add some articles.
diffstat:
bin/expr/expr.1 | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (31 lines):
diff -r e02e81f379e9 -r fb3f7262e35e bin/expr/expr.1
--- a/bin/expr/expr.1 Sun Dec 21 11:16:23 2003 +0000
+++ b/bin/expr/expr.1 Sun Dec 21 11:18:25 2003 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: expr.1,v 1.24 2003/12/21 10:02:46 jdolecek Exp $
+.\" $NetBSD: expr.1,v 1.25 2003/12/21 11:18:25 wiz Exp $
.\"
.\" Copyright (c) 2000,2003 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -173,16 +173,16 @@
.An Jaromir Dolecek
.Aq jdolecek%NetBSD.org@localhost .
.Sh NOTES
-Empty string
+The empty string
.Dq
-cannot be matched with intuitive:
+cannot be matched with the intuitive:
.Bd -literal -offset indent
expr '' : '$'
.Ed
.Pp
-The reason is the returned number of matched characters (zero)
-is indistinguishable from failed match, so this returns failure.
-To match empty string, use something like:
+The reason is that the returned number of matched characters (zero)
+is indistinguishable from a failed match, so this returns failure.
+To match the empty string, use something like:
.Bd -literal -offset indent
expr x'' : 'x$'
.Ed
Home |
Main Index |
Thread Index |
Old Index