www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/09/05:37:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A0A7E38.659A1224@po.cwru.edu>
Date: Thu, 09 Nov 2000 05:36:40 -0500
From: Tom Trelvik <ttt AT po DOT cwru DOT edu>
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Schaible, Joerg" <Joerg DOT Schaible AT gft DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: 'find' quirkiness
References: <C2D7D58DBFE9D111B0480060086E96350288A82E AT mail DOT gft DOT de>

	Actually, Jörg, I did try that first, unfortunately to no avail.  A
`find /cygdrive/c -print` returned the same unexpected results as `find
c: -print`.  Likewise, `find /cygdrive/c/winnt -print` yields the same
expected results as `find c:/winnt -print`.  And it doesn't seem to care
if I include a trailing '/' after any of these paths to be searched.

	Per the FAQ's advice, I tried the following, and it certainly appears
to be using the proper version of find.  Out of curiosity, what does the
"is hashed" mean?

 ~ $ type find
find is hashed (/bin/find)
 ~ $ which find
/usr/bin/find

	Also per suggestion in the FAQ, I mounted the c: drive (on /c), and
then tried again `find /c -print` and again saw it return /c/WINNT but
nothing from within that folder, and again, specifying that folder
returns all of its contents just fine.

	Oh, and on a sidenote, I've noticed in the FAQ that it says that the
"which" command is not available with cygwin.  I was dissappointed to
learn this when I first installed (as I didn't know, until now, to try
'type [command]', so I went to freshmeat.net, found and downloaded a
tarball for which.  A simple 'tar -xzvf [tarball name]', './configure',
'make', 'make install' worked just fine for me to get it working.  So if
anybody else is interested, it's certainly possible.  Sorry if that's
old news to everybody else.

	Anyway, thanks again for all of the help!

Tom

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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