summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2008-12-17 10:41:34 +0000
committerPádraig Brady <P@draigBrady.com>2008-12-17 10:47:23 +0000
commit4000c35ae3546aca05ece49ffa01ba2a763000b0 (patch)
tree2598a051f98ae0bf2e30ff3d53ac5219e39ded94
parent99eccc33592cd13a1aa8b693601953daf2069812 (diff)
downloadcoreutils-4000c35ae3546aca05ece49ffa01ba2a763000b0.tar.xz
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
-rw-r--r--man/du.x2
-rwxr-xr-xman/help2man2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/du.x b/man/du.x
index b17036974..85b9ff449 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 cbdaf065c..66d715f0e 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