From 2458e695f065bb653584b7a8918e9362d3460521 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 12 Mar 2018 09:29:43 +0000 Subject: [PATCH] Remove Tn. --- usr.bin/printf/printf.1 | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1 index 84b7018a9f4b..bfed95592495 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.