This is the mail archive of the
mailing list for the Cygwin project.
Re: find command in cygwin
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Shankar Unni <shankarunni at netscape dot net>
- Cc: cygwin at cygwin dot com
- Date: Fri, 29 Apr 2005 16:27:16 -0400 (EDT)
- Subject: Re: find command in cygwin
- References: <BAY10-F920F2E5F85848B3F6450CE9230@phx.gbl> <email@example.com>
- Reply-to: cygwin at cygwin dot com
On Fri, 29 Apr 2005, Shankar Unni wrote:
> lin q wrote:
> > $ find . -type f -print
> > find: paths must precede expression
> > Usage: find [-H] [-L] [-P] [path...] [expression]
This message is produced by GNU find. "find -name a ." will result in
> > Do you see anything wrong?
> > $ which find
> > /usr/bin/find
> This combo means that you have C:\Windows\System32 in your PATH environment
> before C:\cygwin\bin. Either flip these around, or in your .bashrc, prepend
> /usr/bin to the PATH.
Nope, if "which find" reports /usr/bin/find, /usr/bin/find *is* first in
> If you had followed http://cygwin.com/problems.html , we might not have to
> read minds or use other psychic/telepathic access to debug this..
Since we're talking telepathy here, I'd guess that find is aliased to
'find -mindepth <something>' (as someone else suggested already).
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html