bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem finding mktemp in info file


From: Pádraig Brady
Subject: Re: problem finding mktemp in info file
Date: Wed, 17 Dec 2008 10:54:29 +0000
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Stepan Kasal wrote:
> 
> In short, shell code snippets shall use \(aq for single quotes and \`
> for the "backticks"

Excellent, thanks!

I'm thinking of pushing the attached.

I'll wait at least until your mail hits the coreutils archives.
address@hidden seems mega slow at the moment?

Pádraig.
>From 4000c35ae3546aca05ece49ffa01ba2a763000b0 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?P=C3=A1draig=20Brady?= <address@hidden>
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 b170369..85b9ff4 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 cbdaf06..66d715f 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
-- 
1.5.3.6


reply via email to

[Prev in Thread] Current Thread [Next in Thread]