doc: Remove curly quotes from shell examples in man pages
authorPádraig Brady <P@draigBrady.com>
Wed, 17 Dec 2008 10:41:34 +0000 (10:41 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 17 Dec 2008 10:47:23 +0000 (10:47 +0000)
Use \(aq rather than a literal ' as groff will convert apostrophe
to a right quote (\u2029) in utf8 locales for example.
Stepan Kasal details the issue and fix here:
http://lists.gnu.org/archive/html/bug-coreutils/2008-12/msg00124.html

man/du.x
man/help2man

index b170369742db256d27ed7195621b888bbbc27ece..85b9ff4491d7cca2360d1f231a17ec6f867f2321 100644 (file)
--- a/man/du.x
+++ b/man/du.x
@@ -19,7 +19,7 @@ will match any files whose names end in
 .BR .o .
 Therefore, the command
 .IP
-.B du --exclude='*.o'
+.B du --exclude=\(aq*.o\(aq
 .PP
 will skip all files and subdirectories ending in
 .BR .o
index cbdaf065c320065ab18b11e108967606bce4acc8..66d715f0eb3e27aa57d02b136b5e8aef3bfc26e5 100755 (executable)
@@ -567,7 +567,7 @@ and
 .B %s
 programs are properly installed at your site, the command
 .IP
-.B info coreutils '%s invocation'
+.B info coreutils \(aq%s invocation\(aq
 .PP
 should give you access to the complete manual.
 EOT