[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 [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
