Remove Tn.

This commit is contained in:
wiz 2018-03-12 09:29:43 +00:00
parent 40af7057a9
commit 2458e695f0
1 changed files with 8 additions and 15 deletions

View File

@ -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 .\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" 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 .It
A leading plus or minus sign is allowed. A leading plus or minus sign is allowed.
.It .It
If the leading character is a single or double quote, the value is the If the leading character is a single or double quote, the value is the ASCII
.Tn ASCII
code of the next character. code of the next character.
.El .El
.Pp .Pp
@ -127,13 +126,11 @@ character.
.It Cm \e\e .It Cm \e\e
Write a backslash character. Write a backslash character.
.It Cm \e Ns Ar num .It Cm \e Ns Ar num
Write an 8\-bit character whose Write an 8\-bit character whose ASCII
.Tn ASCII
value is the 1\-, 2\-, or 3\-digit octal number value is the 1\-, 2\-, or 3\-digit octal number
.Ar num . .Ar num .
.It Cm \ex Ns Ar xx .It Cm \ex Ns Ar xx
Write an 8\-bit character whose Write an 8\-bit character whose ASCII
.Tn ASCII
value is the 1\- or 2\-digit hexadecimal number value is the 1\- or 2\-digit hexadecimal number
.Ar xx . .Ar xx .
.El .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 any remaining string operands, and any additional characters in
the format operand. the format operand.
.It Cm \e0 Ns Ar num .It Cm \e0 Ns Ar num
Write an 8\-bit character whose Write an 8\-bit character whose ASCII value is the 1\-, 2\-, or
.Tn ASCII 3\-digit octal number
value is the 1\-, 2\-, or 3\-digit
octal number
.Ar num . .Ar num .
.It Cm \e^ Ns Ar c .It Cm \e^ Ns Ar c
Write the control character 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 The behaviour of the %B format and the \e', \e", \exxx, \ee and
\e[M][\-|^]c escape sequences are undefined in POSIX. \e[M][\-|^]c escape sequences are undefined in POSIX.
.Sh BUGS .Sh BUGS
Since the floating point numbers are translated from Since the floating point numbers are translated from ASCII to
.Tn ASCII floating-point and then back again, floating-point precision may be lost.
to floating-point and
then back again, floating-point precision may be lost.
.Pp .Pp
Hexadecimal character constants are restricted to, and should be specified Hexadecimal character constants are restricted to, and should be specified
as, two character constants. as, two character constants.