bugfindutils - Bugs: bug #10757, POSIX conformance claims in find.1...

 
 

bug #10757: POSIX conformance claims in find.1 man page

Submitter:  Geoff Clare <geoffclare>
Submitted:  Thu 21 Oct 2004 04:18:41 PM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  4.2.1 Fixed Release:  4.2.2
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 24 Oct 2004 11:58:12 PM UTC, comment #2: 

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>
Group administrator
Fri 22 Oct 2004 07:39:22 PM UTC, comment #1: 

Thanks for pointing out the FNM_PERIOD bug.   This flag has been removed from the code, so the behaviour of -name should conform now.

The {}+ thing is now tracked via the new bug report at
https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=10771

That leaves this bug report covering FNM_PERIOD, which I have fixed.  The texinfo manual, manpages and code have been updated accordingly.

James Youngman <jay>
Group administrator
Thu 21 Oct 2004 04:18:41 PM UTC, original submission:  

The find.1 man page says, under "STANDARDS CONFORMANCE":

"-name
               This option is supported, but POSIX conformance depends
               on the POSIX conformance of the system's fnmatch(3)
               library function."

This is misleading, because even if fnmatch() conforms, find -name does not conform.  In order to conform, the FNM_PERIOD flag would have to be removed from the fnmatch() call in find/pred.c.  (See http://standards.ieee.org/reading/ieee/interp/1003-2-92_int/pasc-1003.2-126.html).

Of course, if this change to pred.c could be made - thus making the conformance claim in the man page correct - that would be great.

Also, -exec is listed as supported in the man page, but it does not fully support the POSIX requirements.  It should be listed as partially supported, with a note about the "-exec command {} +" variant not being supported.

Again, if this feature could be implemented instead (by reusing some code from xargs?) that would be great.

Geoff Clare <geoffclare>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-24 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.2
2004-10-22 jay StatusNone Fixed

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code