summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf/printf.1
diff options
context:
space:
mode:
authorbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
committerbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
commit9dbd696514ef94fc24ee622023bb055d94c78640 (patch)
treecc83a924c252f976523f2306273efaa262692a9c /usr.bin/printf/printf.1
parentMove consinit() out of the bowels of the zs driver to its own file, in (diff)
downloadwireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.tar.xz
wireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.zip
Reduce usage of predefined strings in manpages.
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
Diffstat (limited to 'usr.bin/printf/printf.1')
-rw-r--r--usr.bin/printf/printf.18
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1
index e8e9850b109..0f94c15c97f 100644
--- a/usr.bin/printf/printf.1
+++ b/usr.bin/printf/printf.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.1,v 1.28 2014/10/22 21:00:05 schwarze Exp $
+.\" $OpenBSD: printf.1,v 1.29 2015/02/28 21:51:57 bentley Exp $
.\"
.\" Copyright (c) 1989, 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" from: @(#)printf.1 5.11 (Berkeley) 7/24/91
.\"
-.Dd $Mdocdate: October 22 2014 $
+.Dd $Mdocdate: February 28 2015 $
.Dt PRINTF 1
.Os
.Sh NAME
@@ -251,7 +251,7 @@ The
.Ar argument
is printed in the style
.Sm off
-.Pf [\-]d Cm \&. No ddd Cm e No \*(Pmdd
+.Pf [\-]d Cm \&. No ddd Cm e No \(+-dd
.Sm on
where there
is one digit before the decimal point and the number after is equal to
@@ -300,7 +300,7 @@ The
.Ar argument
is printed in style
.Sm off
-.Pf [\-]0xh Cm \&. No hhh Cm p No [\*(Pm]d
+.Pf [\-]0xh Cm \&. No hhh Cm p No [\(+-]d
.Sm on
where there is one digit before the hexadecimal point and the number
after is equal to the precision specification for the argument.