www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Sun, 21 Nov 2010 05:02:42 -0500 |
Message-ID: | <AANLkTi=QE=PSXVb5XUKhTLrbt+0gsaWMg_kvFYscRwQH@mail.gmail.com> |
Subject: | find -execdir executes in wrong dir |
From: | pdanford <pdanford AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
I just upgraded to version 1.7.7-1 and the following find command is broken (which used to work correctly in a recent 1.7x version): C:\cygwin\bin\find . -name file.txt -type f -execdir pwd ';' Apparently, if there are say 10 matching file.txt files, -execdir executes the command in the first dir over and over. However, the following use of find works correctly: C:\cygwin\bin\find . -name file.txt -type f -execdir pwd '{}' + Peter - www.pdanford.com -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |