This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi All, i am seeing strange behaviour with the most recent findutils update when using -prune with a -path which is an existing file which is not a directory. It seems the "pruning" is held over for the next found file.
: 1030; mkdir C : 1031; touch B C/X C/Y D : 1032; find . \( -path ./A -prune \) -o -print . ./B ./C ./C/X ./C/Y ./D : 1033; find . \( -path ./B -prune \) -o -print . ./C ./D : 1034; find . \( -path ./C -prune \) -o -print . ./B ./D : 1035; find . \( -path ./D -prune \) -o -print . ./B ./C ./C/X ./C/Y : 1036; find . \( -path ./E -prune \) -o -print . ./B ./C ./C/X ./C/Y ./D
I expected 1033 to include ./C/X and ./C/Y also. Am i expecting the wrong thing ? Is anyone else seeing this ? Thanks in advance for any help.
Attachment:
cygcheck.out
Description: Binary data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |