Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/printf Remove Tn.



details:   https://anonhg.NetBSD.org/src/rev/4a7aa26edbce
branches:  trunk
changeset: 321341:4a7aa26edbce
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Mar 12 09:29:43 2018 +0000

description:
Remove Tn.

diffstat:

 usr.bin/printf/printf.1 |  23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)

diffs (61 lines):

diff -r c01589c1bff8 -r 4a7aa26edbce usr.bin/printf/printf.1
--- a/usr.bin/printf/printf.1   Mon Mar 12 07:35:45 2018 +0000
+++ b/usr.bin/printf/printf.1   Mon Mar 12 09:29:43 2018 +0000
@@ -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 @@
 .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 @@
 .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 @@
 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 @@
 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.



Home | Main Index | Thread Index | Old Index