diff options
Diffstat (limited to 'bin/expr/expr.1')
-rw-r--r-- | bin/expr/expr.1 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/expr/expr.1 b/bin/expr/expr.1 index fc6ccbb66e4..a7581c8ba97 100644 --- a/bin/expr/expr.1 +++ b/bin/expr/expr.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: expr.1,v 1.12 2002/11/14 02:57:27 deraadt Exp $ +.\" $OpenBSD: expr.1,v 1.13 2003/03/12 20:12:35 deraadt Exp $ .\" $NetBSD: expr.1,v 1.9 1995/04/28 23:27:13 jtc Exp $ .\" .\" Written by J.T. Conklin <jtc@netbsd.org>. @@ -75,12 +75,12 @@ otherwise, returns 0. .Pp Parentheses are used for grouping in the usual manner. .Sh EXAMPLES -.Cm $ a=`expr $a + 1` +.Li $ a=`expr $a + 1` .Pp Add 1 to the variable .Va a . .Pp -.Cm $ expr "//$a" \&: '.*/\e(.*\e)' +.Li $ expr "//$a" \&: '.*/\e(.*\e)' .Pp Return the filename portion of a pathname stored in variable @@ -89,7 +89,7 @@ The .Ql // characters act to eliminate ambiguity with the division operator. .Pp -.Cm $ expr $a \&: '.*' +.Li $ expr $a \&: '.*' .Pp Return the number of characters in variable .Va a . |