From 4000c35ae3546aca05ece49ffa01ba2a763000b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Wed, 17 Dec 2008 10:41:34 +0000 Subject: [PATCH] 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 --- man/du.x | 2 +- man/help2man | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3