delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/29/15:00:18

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
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankarunni AT netscape DOT 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 AT phx DOT gbl>
Mime-Version: 1.0
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/

- Raw text -


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