summaryrefslogtreecommitdiff
path: root/bin/expr/expr.1
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1998-09-14 22:14:01 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1998-09-14 22:14:01 +0000
commitd7b87853ad02031845dedc2e4eb43470f70629b2 (patch)
tree6711d6705a3d61a8fc1398a0e93943d2c24e793f /bin/expr/expr.1
parent0e57f2a299667350f0094976659b7e7f6dee3478 (diff)
First complete sweep of man pages, bin/. Command/function names previously
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos.
Diffstat (limited to 'bin/expr/expr.1')
-rw-r--r--bin/expr/expr.113
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/expr/expr.1 b/bin/expr/expr.1
index 5def49de951..0337cbd1dd6 100644
--- a/bin/expr/expr.1
+++ b/bin/expr/expr.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: expr.1,v 1.3 1997/08/19 06:36:30 denny Exp $
+.\" $OpenBSD: expr.1,v 1.4 1998/09/14 22:13:47 aaron Exp $
.\" $NetBSD: expr.1,v 1.9 1995/04/28 23:27:13 jtc Exp $
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
@@ -57,7 +57,7 @@ operator matches
against
.Ar expr2 ,
which must be a regular expression. The regular expression is anchored
-to the beginning of the string with an implicit
+to the beginning of the string with an implicit
.Dq ^ .
.Pp
If the match succeeds and the pattern contains at least one regular
@@ -91,15 +91,16 @@ The following example returns the number of characters in variable a.
The
.Nm expr
utility exits with one of the following values:
+.Pp
.Bl -tag -width Ds -compact
.It 0
-the expression is neither an empty string nor 0.
+The expression is neither an empty string nor 0.
.It 1
-the expression is an empty string or 0.
+The expression is an empty string or 0.
.It 2
-the expression is invalid.
+The expression is invalid.
.It >2
-an error occurred (such as memory allocation failure).
+An error occurred (such as memory allocation failure).
.El
.Sh STANDARDS
The