public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin 'find' does not support the '-L' predicate?
@ 2009-09-05  3:50 Lee Rothstein
  2009-09-05  4:07 ` find not consistent with man/info pages? Was: " Lee D. Rothstein
  2009-09-05  4:08 ` Eric Blake
  0 siblings, 2 replies; 6+ messages in thread
From: Lee Rothstein @ 2009-09-05  3:50 UTC (permalink / raw)
  To: Cygwin eMail List

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-05  6:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-05  3:50 Cygwin 'find' does not support the '-L' predicate? Lee Rothstein
2009-09-05  4:07 ` find not consistent with man/info pages? Was: " Lee D. Rothstein
2009-09-05  4:08 ` Eric Blake
2009-09-05  4:23   ` Lee Rothstein
2009-09-05  5:34     ` Christopher Faylor
2009-09-05  6:20       ` Lee Rothstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).