bugfindutils - Bugs: bug #11189, Errors in find(1) manpage. And...

 
 

bug #11189: Errors in find(1) manpage. And unescaped dashes.

Submitter:  Andreas Metzler <ametzler>
Submitted:  Thu 02 Dec 2004 03:47:18 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  jay Originator Name: 
Open/Closed:  Closed Release:  4.2.8
Fixed Release:  4.2.9
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sun 05 Dec 2004 05:21:01 PM UTC, comment #3: 

You can download a release of findutils in which this problem is
fixed from ftp://alpha.gnu ... g/gnu/findutils.

The releases on alpha.gnu.org are for testing purposes, so please
take the time to download the release and verify that your
problem has been solved.  Once the release has been sufficiently
tested, it can be uploaded to ftp.gnu.org for everybody to use it.

James Youngman <jay>
Group administrator
Fri 03 Dec 2004 05:54:20 PM UTC, comment #2: 

Some but not all had already been fixed in CVS.   I have fixed them now.

James Youngman <jay>
Group administrator
Thu 02 Dec 2004 03:55:53 PM UTC, comment #1: 

Attached a patch to escape dashes in xargs.1, too.

Andreas Metzler <ametzler>
Thu 02 Dec 2004 03:47:18 PM UTC, original submission:  

The find manpage in 4.2.8 is buggy:
-----------
ametzler@downhill:/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 %p\en' \) , \e
.B        \( -size +100M -fprintf /root/big.txt  '%-10s %p\en' \)

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

Andreas Metzler <ametzler>

 

Attached Files

Attached Files
file #2123:  xargs.1.escape-dashes.diff added by ametzler (4.8KiB - text/plain - escape dashes in xargs.1 where necessary.)
file #1691:  find.1.escape-dashes.diff added by ametzler (8.0KiB - text/plain - escape dashes -where necessary- in find.1)

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

History

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-12-05 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.9
2004-12-03 jay StatusNone Fixed
    Assigned toNone jay
2004-12-02 ametzler Attached File- Added xargs.1.escape-dashes.diff, #1935
2004-12-02 ametzler Attached File- Added find.1.escape-dashes.diff, #1934

Back to the top

Powered by Savane 3.16-ed84.
Corresponding source code