bug-findutils
[Top][All Lists]
Advanced

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

[bugs #11189] Errors in find(1) manpage. And unescaped dashes.


From: James Youngman
Subject: [bugs #11189] Errors in find(1) manpage. And unescaped dashes.
Date: Fri, 03 Dec 2004 13:00:52 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

This mail is an automated notification from the bugs tracker
 of the project: findutils.

/**************************************************************************/
[bugs #11189] Latest Modifications:

Changes by: 
                James Youngman <address@hidden>
'Date: 
                Fri 12/03/04 at 17:54 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | jay


------------------ Additional Follow-up Comments ----------------------------
Some but not all had already been fixed in CVS.   I have fixed them now.






/**************************************************************************/
[bugs #11189] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11189>
Project: findutils
Submitted by: Andreas Metzler
On: Thu 12/02/04 at 15:47

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Privacy:  Public
Assigned to:  jay
Originator Name:  
Originator Email:  
Status:  Open
Release:  4.2.8
Fixed Release:  None


Summary:  Errors in find(1) manpage. And unescaped dashes.

Original Submission:  The find manpage in 4.2.8 is buggy:
-----------
address@hidden:/tmp$ LC_ALL=en_US man find > /dev/null
Reformatting find(1), please wait...
/tmp/zmanCbwxIn:845: a space character is not allowed in an escape name
/tmp/zmanCbwxIn:845: warning: can't find special character `'
/tmp/zmanCbwxIn:846: a space character is not allowed in an escape name
--------------

The corresponding lines are:
.B find / ( -perm +4000 -fprintf /root/suid.txt '%#m %u %pen' ) , e
.B        ( -size +100M -fprintf /root/big.txt  '%-10s %pen' )

Additionally the manpage contains multiple unescaped dashes, "-" which will be 
rendered as n-dash instead of "-" in UTF-8 locales, therefore breaking not only 
cut and paste but much worse also searching. The attached patch fixes _these_.
           cu andreas

Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 12/03/04 at 17:54         By: James Youngman <jay>
Some but not all had already been fixed in CVS.   I have fixed them now.

-------------------------------------------------------
Date: Thu 12/02/04 at 15:55         By: Andreas Metzler <ametzler>
Attached a patch to escape dashes in xargs.1, too.






File Attachments
-------------------

-------------------------------------------------------
Date: Thu 12/02/04 at 15:55  Name: xargs.1.escape-dashes.diff  Size: 4.79KB   
By: ametzler
escape dashes in xargs.1 where necessary.
http://savannah.gnu.org/bugs/download.php?item_id=11189&amp;item_file_id=1935

-------------------------------------------------------
Date: Thu 12/02/04 at 15:47  Name: find.1.escape-dashes.diff  Size: 7.95KB   
By: ametzler
escape dashes -where necessary- in find.1
http://savannah.gnu.org/bugs/download.php?item_id=11189&amp;item_file_id=1934






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11189>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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