From 5ac4e796ab65f0ab2514982a0b736ed185b71681 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 14 Nov 2002 02:57:29 +0000 Subject: use $ or # before commands in examples --- bin/expr/expr.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/expr') 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 . @@ -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 . -- cgit v1.2.3