Module Name: src
Committed By: uwe
Date: Fri Jun 26 22:05:05 UTC 2020
Modified Files:
src/usr.bin/printf: printf.1
Log Message:
Drop redundant quoting in the nested printf example.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 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.33 src/usr.bin/printf/printf.1:1.34
--- src/usr.bin/printf/printf.1:1.33 Fri Jun 26 21:03:55 2020
+++ src/usr.bin/printf/printf.1 Fri Jun 26 22:05:05 2020
@@ -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 @@ invocations may be used, in which the in
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)