From: Pádraig Brady
Date: Wed, 17 Dec 2008 10:41:34 +0000 (+0000) Subject: doc: Remove curly quotes from shell examples in man pages X-Git-Tag: v7.1~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4000c35ae3546aca05ece49ffa01ba2a763000b0;p=thirdparty%2Fcoreutils.git doc: Remove curly quotes from shell examples in man pages 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 --- diff --git a/man/du.x b/man/du.x index b170369742..85b9ff4491 100644 --- 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 diff --git a/man/help2man b/man/help2man index cbdaf065c3..66d715f0eb 100755 --- a/man/help2man +++ b/man/help2man @@ -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