summaryrefslogtreecommitdiff
path: root/usr.bin/printf
diff options
context:
space:
mode:
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