delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/29/16:27:40

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
Date: Fri, 29 Apr 2005 16:27:16 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Shankar Unni <shankarunni AT netscape DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: find command in cygwin
In-Reply-To: <d4tvo1$pr2$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.61.0504291614390.5266@slinky.cs.nyu.edu>
References: <BAY10-F920F2E5F85848B3F6450CE9230 AT phx DOT gbl> <d4tvo1$pr2$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0

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
such.

> >  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
the PATH.

> 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).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019