bug-findutils
[Top][All Lists]
Advanced

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

Re: find acting weird


From: Eric Blake
Subject: Re: find acting weird
Date: Fri, 11 Jun 2010 10:08:20 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

[please don't top-post on technical lists]

On 06/11/2010 05:50 AM, Юрий Пухальский wrote:
>>> Same behavior as GNU findutils, as required by POSIX.
>> Can You please tell where it's required? I'm using
>> http://www.opengroup.org/onlinepubs/009695399/utilities/find.html and
>> see nothing about the traversal algorithm.
>> I can only quote this: "If a -depth primary is not specified, all
>> entries in a directory shall be acted on after the directory itself."
>> It can be read either as "all entries in a directory, that are present
>> after -exec" or "all entries in a directory, that were present before
>> -exec".

If you think this is a bug in POSIX, then please report it to the POSIX
folks: http://austingroupbugs.net/

Your argument that the standard is ambiguous, and proposal for a better
wording in the standard, will help them determine whether it really is
ambiguous; and if the POSIX folks make a change based on your bug
report, then you can be sure that findutils will strive to implement
that change.  But in the meantime, I see no reason to change findutils
behavior unless you can prove we are disobeying non-ambiguous wording in
the standard.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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