Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509540 - Forwarticks in example command in "Manpage of EMERGE": find /etc -iname ´._cfg????_*´.
Summary: Forwarticks in example command in "Manpage of EMERGE": find /etc -iname ´._cf...
Status: RESOLVED DUPLICATE of bug 480192
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL: http://dev.gentoo.org/~zmedico/portag...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-04 13:35 UTC by Nikos Alexandris
Modified: 2016-06-16 16:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
edited emerge.1 file with replaced quote (emerge.1,55.05 KB, text/plain)
2014-05-06 09:48 UTC, Brian Dolbec (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Alexandris 2014-05-04 13:35:50 UTC
In Manpage of EMERGE it is stated: To find files that need to be updated in /etc, type find /etc -iname ´._cfg????_´* Taking a closer look at it (copy-pasted from terminal -- not from the online version of the manual): find /etc -iname ´._cfg????_*´.

Using exactly this command won't work because the string in question is inside forward-ticks ´...´ and not inside single quotes, like find /etc -iname '._cfg????_*' which works as expected.

Is this a local misconfiguration or a typographical error in the Manpage?


Reproducible: Always

Steps to Reproduce:
1. man emerge
2. copy the example command "find /etc -iname ´._cfg????_*´"
3. paste in the command line (shell) and execute
Actual Results:  
No valid results returned (when confirmed that there are files in the form of as the requested string requests).

Expected Results:  
Return file matching the "._cfg????_*" pattern (when, they, exist of course).

http://unix.stackexchange.com/a/127786/13011
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2014-05-06 09:48:24 UTC
Created attachment 376470 [details]
edited emerge.1 file with replaced quote

to test if this fixes it for you, call man with "man path/to/emerge.1


diff --git a/man/emerge.1 b/man/emerge.1
index abb0ed8..dccff96 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -1124,7 +1124,7 @@ Protected directories are set using the \fICONFIG_PROTECT\fR variable, normally
 defined in make.globals. Directory exceptions to the CONFIG_PROTECTed
 directories can be specified using the \fICONFIG_PROTECT_MASK\fR variable.
 To find files that need to be updated in /etc, type \fBfind /etc \-name
-\[aq]._cfg????_*\[aq]\fR.
+\'._cfg????_*\'\fR.
 .LP
 You can disable this feature by setting \fICONFIG_PROTECT="\-*"\fR in
 \fBmake.conf\fR(5).
Comment 2 Zac Medico gentoo-dev 2016-06-16 16:05:33 UTC

*** This bug has been marked as a duplicate of bug 480192 ***
Comment 3 Zac Medico gentoo-dev 2016-06-16 16:10:01 UTC
(In reply to Brian Dolbec from comment #1)
> -\[aq]._cfg????_*\[aq]\fR.
> +\'._cfg????_*\'\fR.

I've tested your change and for me it gives the exact opposite of the desired result (it results in forward ticks instead of single quotes).

From `man groff_char`:

       Output   Input   PostScript       Unicode   Notes
       ────────────────────────────────────────────────────────────────────────
       '        \[aq]   quotesingle      u0027     apostrophe quote (ASCII 39)


It has rendered correcly for me since this commit from bug 480192:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=bf892931fa344f89d51d038296ca7e374ce3b30f