Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480192 - Error in man page for emerge, CONFIGURATION FILES section, find protected config files
Summary: Error in man page for emerge, CONFIGURATION FILES section, find protected con...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Documentation (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 509540 (view as bug list)
Depends on:
Blocks: 472632
  Show dependency tree
 
Reported: 2013-08-07 18:52 UTC by Kieron Hardy
Modified: 2016-06-16 16:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kieron Hardy 2013-08-07 18:52:21 UTC
In the emerge man page, in the CONFIURATION FILES section, there is an error in the example command to search for config files protected as described in that CONFIGURATION FILES section.

i.e. the statement: 

To find files that need to be updated in  /etc,  type
       find /etc -iname ´.  cfg????_*´.

should read:

To find files that need to be updated in  /etc,  type
       find /etc -iname ´._cfg????_*´.

It seems somehow the first underscore has been replaced with two spaces(?). A copy paste from the man page to a terminal failed, and the command needed to be edited to my suggested replacement in order to actually find a protected file.
Comment 1 Kieron Hardy 2013-08-07 19:45:34 UTC
Correction the command should actually be:

find /etc -iname '._cfg????_*' 

i.e. the quotes should be apostrophes rather than closing (single) quotes.
Comment 3 Zac Medico gentoo-dev 2013-08-08 18:53:20 UTC
This is fixed in 2.1.13.7 and 2.2.0_alpha196.
Comment 4 Zac Medico gentoo-dev 2016-06-16 16:05:33 UTC
*** Bug 509540 has been marked as a duplicate of this bug. ***