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

 
 

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

Submitted by:  Andreas Metzler <ametzler>
Submitted on:  Thu 02 Dec 2004 03:47:18 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Open/Closed:  Closed
Release:  4.2.8 Fixed Release:  4.2.9

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.org/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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>

 

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

Attach Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

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