summaryrefslogtreecommitdiff
path: root/bin/expr/expr.1
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-03-12 20:12:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-03-12 20:12:44 +0000
commit14e969b705e70fddba0193246802558b1b85f7fc (patch)
tree0c243d723b590b9920e91182ca468de8cfffddc0 /bin/expr/expr.1
parentfc683899279ea279f5ecf6087bb06cc0403e903d (diff)
more .Li
Diffstat (limited to 'bin/expr/expr.1')
-rw-r--r--bin/expr/expr.18
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 .