Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/printf Drop redundant quoting in the nested printf e...



details:   https://anonhg.NetBSD.org/src/rev/b42d8c9d2e03
branches:  trunk
changeset: 1011332:b42d8c9d2e03
user:      uwe <uwe%NetBSD.org@localhost>
date:      Fri Jun 26 22:05:05 2020 +0000

description:
Drop redundant quoting in the nested printf example.

diffstat:

 usr.bin/printf/printf.1 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r eb01704059aa -r b42d8c9d2e03 usr.bin/printf/printf.1
--- a/usr.bin/printf/printf.1   Fri Jun 26 21:03:55 2020 +0000
+++ b/usr.bin/printf/printf.1   Fri Jun 26 22:05:05 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: printf.1,v 1.33 2020/06/26 21:03:55 uwe Exp $
+.\"    $NetBSD: printf.1,v 1.34 2020/06/26 22:05:05 uwe Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -471,6 +471,6 @@
 converts the input to an octal string, and the outer
 invocation uses the octal string as part of a format.
 For example, the following command outputs the character whose code
-is 0x0A, which is a newline in ASCII:
+is 0x0a, which is a newline in ASCII:
 .Pp
-.Dl printf \&"$(printf \&"\e\e%o" \&"0x0A")"
+.Dl printf $(printf \(aq\e\e%o\(aq 0x0a)



Home | Main Index | Thread Index | Old Index