Module Name: src Committed By: wiz Date: Mon Mar 12 09:29:43 UTC 2018
Modified Files: src/usr.bin/printf: printf.1 Log Message: Remove Tn. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/printf/printf.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/printf/printf.1 diff -u src/usr.bin/printf/printf.1:1.26 src/usr.bin/printf/printf.1:1.27 --- src/usr.bin/printf/printf.1:1.26 Mon Mar 12 00:42:05 2018 +++ src/usr.bin/printf/printf.1 Mon Mar 12 09:29:43 2018 @@ -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 constan .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 th 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.