diff options
| author | wiz <wiz@NetBSD.org> | 2003-12-21 11:18:25 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2003-12-21 11:18:25 +0000 |
| commit | 00c8cf496cfbe1659167342921c594c175dfaf4a (patch) | |
| tree | c519ce0871f269f1a9905bcceac7442b82c62ee4 /bin/expr/expr.1 | |
| parent | 4eb81d63b4aebae7d7403104ba6ce5a98e65851b (diff) | |
Add some articles.
Diffstat (limited to 'bin/expr/expr.1')
| -rw-r--r-- | bin/expr/expr.1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/expr/expr.1 b/bin/expr/expr.1 index bb9e879f76a..cb9ef4a2de1 100644 --- a/bin/expr/expr.1 +++ b/bin/expr/expr.1 @@ -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 @@ by .An Jaromir Dolecek .Aq jdolecek@NetBSD.org . .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 |
