Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Shankar Unni <shankarunni@netscape.net>
Subject:  Re: find command in cygwin
Date:  Fri, 29 Apr 2005 11:57:32 -0700
Lines: 17
Message-ID: <d4tvo1$pr2$1@sea.gmane.org>
References:  <BAY10-F920F2E5F85848B3F6450CE9230@phx.gbl>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7
In-Reply-To: <BAY10-F920F2E5F85848B3F6450CE9230@phx.gbl>
X-IsSubscribed: yes

lin q wrote:

> $ find . -type f -print
> find: paths must precede expression
> Usage: find [-H] [-L] [-P] [path...] [expression]
> 
>  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.

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


--
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/

