diff options
author | 2002-11-14 02:57:27 +0000 | |
---|---|---|
committer | 2002-11-14 02:57:27 +0000 | |
commit | 86dd7d2ca129474db8f5f33b32092d157e4f2abd (patch) | |
tree | 3c127bd48c4d21c37543da725582822beff413f8 /usr.bin/printf/printf.1 | |
parent | Sync with bind-4.9.11-REL; fixes the problems listed in: (diff) | |
download | wireguard-openbsd-86dd7d2ca129474db8f5f33b32092d157e4f2abd.tar.xz wireguard-openbsd-86dd7d2ca129474db8f5f33b32092d157e4f2abd.zip |
use $ or # before commands in examples
Diffstat (limited to 'usr.bin/printf/printf.1')
-rw-r--r-- | usr.bin/printf/printf.1 | 6 |
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 |