bugfindutils - Bugs: bug #20804, -path vs. -wholename


bug #20804: -path vs. -wholename

Submitted by:  Eric Blake <ericb>
Submitted on:  Fri 17 Aug 2007 06:17:24 PM UTC  
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Eric Blake Open/Closed:  Closed
Release:  4.3.8 Fixed Release:  4.3.9

Add a New Comment (Rich Markup)

You are not logged in

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


Sat 08 Sep 2007 12:48:36 PM UTC, comment #2: 

The patch was applied to 4.3.x on 22 August 2007.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sun 19 Aug 2007 06:57:10 PM UTC, comment #1: 

I have just posted a patch (to 4.3.x) to un-deprecate it.

James Youngman <jay>
Project AdministratorIn charge of this item.
Fri 17 Aug 2007 06:17:24 PM UTC, original submission:  

The next revision of POSIX (at least, as of draft 3 of POSIX 200x, freely available to Austin group members), will mandate the addition of the -path expression.

Right now, GNU find has -path == -wholename, and -ipath == -iwholename.  Of these four expressions, only -path is (going to be) POSIX-mandated, while only -ipath causes a deprecation warning.  Perhaps it is time to reverse this, and make both -path and -ipath be warning-free, and instead make -wholename and -iwholename issue deprecation warnings (-wholename because the same thing can be achieved via a POSIX-mandated alternative, similar to how -d is deprecated in favor of POSIX-mandated -depth; and -iwholename for consistency with -wholename).

Eric Blake <ericb>
Project Administrator


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by ericb (Submitted the item)

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

    Date Changed by Updated Field Previous Value => Replaced by
    2007-11-11 jay Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.3.9
    2007-09-08 jay StatusIn Progress => Fixed
    2007-08-19 jay StatusNone => In Progress
        Assigned toNone => jay

    Back to the top

    Powered by Savane 3.7