From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 322 invoked by alias); 5 Sep 2009 04:07:49 -0000 Received: (qmail 313 invoked by uid 22791); 5 Sep 2009 04:07:48 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from simon.codemeta.com (HELO simon.codemeta.com) (199.125.75.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 05 Sep 2009 04:07:43 +0000 Received: from [75.68.48.130] (c-75-68-48-130.hsd1.nh.comcast.net [75.68.48.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by simon.codemeta.com (Postfix) with ESMTP id B280244A7D for ; Sat, 5 Sep 2009 00:07:41 -0400 (EDT) Message-ID: <4AA1E40C.5030403@veritech.com> Date: Sat, 05 Sep 2009 04:07:00 -0000 From: "Lee D. Rothstein" User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: find not consistent with man/info pages? Was: Re: Cygwin 'find' does not support the '-L' predicate? References: <4AA1DFE9.9070803@veritech.com> In-Reply-To: <4AA1DFE9.9070803@veritech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-09/txt/msg00143.txt.bz2 I got the terminology all mixed up, but the bottom line is: # '-follow' is supposed to be deprecated, but the replacement # '-L' specified in 'man' and 'info' pages does not appear to # exist in Cygwin 'find' version 4.5.4 find "$PWD" -maxdepth 1 -type f -follow -executable | gawk ' Lee Rothstein wrote: > Apparently there are these thingies (special type of options) > called predicates in 'find' that are specified before a path that > tell it to follow or not follow links, etc. > > I think I need the '-L' predicate that says follow them thar > links. However, the following command line works until I add the > '-L' predicate. > > The following works: > > find "$PWD" -maxdepth 1 -type f -executable > > but does not find executable files that are links > > The following, which I assume (according to man and info) will > find executables that are links, does not work at all: > > find -L "$PWD" -maxdepth 1 -type f -executable > > Or, is this pilot error? > > Lee > > -- > 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 > > -- 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