Bug 657563

Summary: Manual page corrections for find
Product: Red Hat Enterprise Linux 6 Reporter: Eduard Benes <ebenes>
Component: man-pages-overridesAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: low Docs Contact:
Priority: low    
Version: 6.0CC: kdudka, ovasik, varekova
Target Milestone: rcKeywords: ManPageChange
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 659730 (view as bug list) Environment:
Last Closed: 2011-05-19 14:28:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 659730    
Attachments:
Description Flags
upstream commit c440d6c applied on el6 findutils none

Description Eduard Benes 2010-11-26 13:44:16 UTC
Manual page for find needs review and at least one minor correction. Following example from the manual does not work out-of-the-box:
<current>
       find / \
       \( -perm -4000 -fprintf /root/suid.txt %#m %u %p\n \) , \
       \( -size +100M -fprintf /root/big.txt %-10s %p\n \)
</current>

until you add apostrophe around print arguments as it is in RHEL 5 man pages:
<proposed>
       find / \
       \( -perm -4000 -fprintf /root/suid.txt '%#m %u %p\n' \) , \
       \( -size +100M -fprintf /root/big.txt '%-10s %p\n' \)
</proposed>

We can expect other similar typos around, so it should be checked. 

Version-Release number of selected component (if applicable):
findutils-4.4.2-6.el6

Comment 1 Kamil Dudka 2010-11-26 18:11:44 UTC
Good catch!  Fixed upstream in c440d6c:

http://git.savannah.gnu.org/gitweb/?p=findutils.git;a=commitdiff;h=c440d6c

Comment 2 Kamil Dudka 2011-01-27 11:03:47 UTC
Created attachment 475579 [details]
upstream commit c440d6c applied on el6 findutils

Comment 6 errata-xmlrpc 2011-05-19 14:28:57 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0780.html