summaryrefslogtreecommitdiff
path: root/usr.bin/printf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-14 02:57:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-11-14 02:57:29 +0000
commit5ac4e796ab65f0ab2514982a0b736ed185b71681 (patch)
tree0a7aa303df52b25f34eca7cb6da19071822a3885 /usr.bin/printf
parent8c40cc2c58bce394e853e8cfab1dde400d093b18 (diff)
use $ or # before commands in examples
Diffstat (limited to 'usr.bin/printf')
-rw-r--r--usr.bin/printf/printf.16
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1
index 52f5ed41907..53012f0747c 100644
--- a/usr.bin/printf/printf.1
+++ b/usr.bin/printf/printf.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.1,v 1.13 2001/02/17 17:15:27 pjanzen Exp $
+.\" $OpenBSD: printf.1,v 1.14 2002/11/14 02:57:28 deraadt Exp $
.\"
.\" Copyright (c) 1989, 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -297,12 +297,12 @@ utility exits 0 on success or 1 on failure.
.Sh EXAMPLES
Convert a hexidecimal value to decimal and print it out:
.Pp
-.D1 Ic printf \&"%d\en\&" 0x20
+.D1 Ic $ printf \&"%d\en\&" 0x20
.Pp
Print the decimal representation of the character 'a' (see
.Xr ascii 7 ) :
.Pp
-.D1 Ic printf \&"%d\en\&" \e'a
+.D1 Ic $ printf \&"%d\en\&" \e'a
.Sh SEE ALSO
.Xr echo 1 ,
.Xr printf 3