diff options
| author | uwe <uwe@NetBSD.org> | 2020-06-29 22:50:11 +0000 |
|---|---|---|
| committer | uwe <uwe@NetBSD.org> | 2020-06-29 22:50:11 +0000 |
| commit | 7ed1622bfbeb0962bd2cf7607f60a246ab2f6be1 (patch) | |
| tree | 10a9613ebc440c4995d546a434d927599cf317f1 /usr.bin/printf/printf.1 | |
| parent | c5cda32446638af59be7b84066f8a46ed4a6737b (diff) | |
Add quotes around command substitution in the example
so that it works regardless of IFS and buts.
Requested by kre@
Diffstat (limited to 'usr.bin/printf/printf.1')
| -rw-r--r-- | usr.bin/printf/printf.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1 index 0bd45ef37d8..3b711dc17cf 100644 --- a/usr.bin/printf/printf.1 +++ b/usr.bin/printf/printf.1 @@ -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 of a format. 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 |
