Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Mon, 29 Jul 2002 11:09:40 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: which & locate Message-ID: <20020729150940.GB16707@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <714864C61F42474DA303505B01544D150146513B AT hermes DOT scopus DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <714864C61F42474DA303505B01544D150146513B@hermes.scopus.net> User-Agent: Mutt/1.3.23.1i On Mon, Jul 29, 2002 at 01:28:09PM +0200, Alex Vinokur wrote: > > >> -----Original Message----- >> From: Mark Sheppard [mailto:msheppard AT climax DOT co DOT uk] >> Sent: Monday, July 29, 2002 11:15 AM >> To: 'Sylvain Petreolle'; Alex Vinokur; Cygwin Mailing List >> Subject: RE: which & locate >> >> >> Try: >> >> locate */ls.exe > > >$ which ls >/usr/bin/ls > > >$ which ls.exe >/usr/bin/ls.exe > > >$ locate */ls.exe >/bin/ls.exe > > >$ locate */ls >/usr/share/irc/help/note/ls which != locate. locate has not been especially adapted to understand the windows .exe convention. which has been, obviously. So, as others have indicated use "locate ls.exe". cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/