Module Name:    src
Committed By:   uwe
Date:           Mon Jun 29 22:50:11 UTC 2020

Modified Files:
        src/usr.bin/printf: printf.1

Log Message:
Add quotes around command substitution in the example
so that it works regardless of IFS and buts.
Requested by kre@


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 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.34 src/usr.bin/printf/printf.1:1.35
--- src/usr.bin/printf/printf.1:1.34	Fri Jun 26 22:05:05 2020
+++ src/usr.bin/printf/printf.1	Mon Jun 29 22:50:11 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: printf.1,v 1.34 2020/06/26 22:05:05 uwe Exp $
+.\"	$NetBSD: printf.1,v 1.35 2020/06/29 22:50:11 uwe Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -473,4 +473,4 @@ invocation uses the octal string as part
 For example, the following command outputs the character whose code
 is 0x0a, which is a newline in ASCII:
 .Pp
-.Dl printf $(printf \(aq\e\e%o\(aq 0x0a)
+.Dl printf \*q$(printf \(aq\e\e%o\(aq 0x0a)\*q

Reply via email to