Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 480192

Summary: Error in man page for emerge, CONFIGURATION FILES section, find protected config files
Product: Portage Development Reporter: Kieron Hardy <kieron.hardy>
Component: DocumentationAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: trivial CC: nik
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 472632    

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. ***