diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-11-14 02:57:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-11-14 02:57:29 +0000 |
commit | 5ac4e796ab65f0ab2514982a0b736ed185b71681 (patch) | |
tree | 0a7aa303df52b25f34eca7cb6da19071822a3885 /bin/expr | |
parent | 8c40cc2c58bce394e853e8cfab1dde400d093b18 (diff) |
use $ or # before commands in examples
Diffstat (limited to 'bin/expr')
-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 6052e8fa55e..fc6ccbb66e4 100644 --- a/bin/expr/expr.1 +++ b/bin/expr/expr.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: expr.1,v 1.11 2001/11/13 14:00:15 mpech Exp $ +.\" $OpenBSD: expr.1,v 1.12 2002/11/14 02:57:27 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` +.Cm $ a=`expr $a + 1` .Pp Add 1 to the variable .Va a . .Pp -.Cm expr "//$a" \&: '.*/\e(.*\e)' +.Cm $ 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 \&: '.*' +.Cm $ expr $a \&: '.*' .Pp Return the number of characters in variable .Va a . |