| www.delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Thu, 02 Nov 2006 14:31:20 -0500 |
| To: | cygwin AT cygwin DOT com |
| Subject: | find 4.3.0 + 4.3.1: find -path '*/.*' -prune excludes too many files |
| X-Sybari-Space: | 00000000 00000000 00000000 00000000 |
| From: | "Howard Mak" <hmak AT vaultus DOT com> |
| MIME-Version: | 1.0 |
| Message-ID: | <op.tieluid2lokn5a@slate> |
| User-Agent: | Opera Mail/9.02 (Win32) |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Using "-path '*/.*' -prune" prunes too many files from find output when files to prune actually exists. Problem occurs in both version 4.3.0 + 4.3.1 of find. Problem does *not* occur in version 4.2.27. Is this problem related to the following bug? http://sourceware.org/ml/cygwin/2006-07/msg00890.html Subject: find version 4.3.0, -path someNonDir -prune Date: Fri, 28 Jul 2006 08:33:15 +1000 Thanks for any help! TO REPRODUCE: ------------- Run commands 1. mkdir -p d/d2 2. touch d/d2/f 3. find d -path '*/.*' -prune -o -print Result: ------- d d/d2 d/d2/f 4. touch d/.x 5. find d -path '*/.*' -prune -o -print Result: ------- d d/d2 Expected: --------- d d/d2 d/d2/f i.e., d/d2/f is unexpectedly dropped - Howard -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |