summaryrefslogtreecommitdiff
path: root/usr.bin/printf/printf.1
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2018-03-12 09:29:43 +0000
committerwiz <wiz@NetBSD.org>2018-03-12 09:29:43 +0000
commitf969a02b7ac027bed8a6a3d72c6fd826a2ce86ae (patch)
treee4fe20281d90f536bd5a7fb77d792097c9c6ddd2 /usr.bin/printf/printf.1
parentad0e21e47412f2fb017e5c86cb4c50ce975585ec (diff)
Remove Tn.
Diffstat (limited to 'usr.bin/printf/printf.1')
-rw-r--r--usr.bin/printf/printf.123
1 files changed, 8 insertions, 15 deletions
diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1
index 84b7018a9f4..bfed9559249 100644
--- a/usr.bin/printf/printf.1
+++ b/usr.bin/printf/printf.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: printf.1,v 1.26 2018/03/12 00:42:05 dholland Exp $
+.\" $NetBSD: printf.1,v 1.27 2018/03/12 09:29:43 wiz Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -70,8 +70,7 @@ otherwise it is evaluated as a C constant, with the following extensions:
.It
A leading plus or minus sign is allowed.
.It
-If the leading character is a single or double quote, the value is the
-.Tn ASCII
+If the leading character is a single or double quote, the value is the ASCII
code of the next character.
.El
.Pp
@@ -127,13 +126,11 @@ character.
.It Cm \e\e
Write a backslash character.
.It Cm \e Ns Ar num
-Write an 8\-bit character whose
-.Tn ASCII
+Write an 8\-bit character whose ASCII
value is the 1\-, 2\-, or 3\-digit octal number
.Ar num .
.It Cm \ex Ns Ar xx
-Write an 8\-bit character whose
-.Tn ASCII
+Write an 8\-bit character whose ASCII
value is the 1\- or 2\-digit hexadecimal number
.Ar xx .
.El
@@ -309,10 +306,8 @@ to ignore any remaining characters in the string operand containing it,
any remaining string operands, and any additional characters in
the format operand.
.It Cm \e0 Ns Ar num
-Write an 8\-bit character whose
-.Tn ASCII
-value is the 1\-, 2\-, or 3\-digit
-octal number
+Write an 8\-bit character whose ASCII value is the 1\-, 2\-, or
+3\-digit octal number
.Ar num .
.It Cm \e^ Ns Ar c
Write the control character
@@ -384,10 +379,8 @@ are optional in POSIX.
The behaviour of the %B format and the \e', \e", \exxx, \ee and
\e[M][\-|^]c escape sequences are undefined in POSIX.
.Sh BUGS
-Since the floating point numbers are translated from
-.Tn ASCII
-to floating-point and
-then back again, floating-point precision may be lost.
+Since the floating point numbers are translated from ASCII to
+floating-point and then back again, floating-point precision may be lost.
.Pp
Hexadecimal character constants are restricted to, and should be specified
as, two character constants.