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 Subject: Re: Problems with FIND From: David Means To: cygwin AT cygwin DOT com In-Reply-To: <000701c2e0a8$c33f5370$6700000a@bastos> References: <000701c2e0a8$c33f5370$6700000a AT bastos> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-UtrI9O3DhZS0qhULh++O" Organization: The-Means.net Message-Id: <1046622184.22132.37.camel@milo> Mime-Version: 1.0 Date: 02 Mar 2003 11:23:05 -0500 --=-UtrI9O3DhZS0qhULh++O Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 'type' reporting the first instance of a file that it finds isn't a problem. However, I will assume that when you run the 'find' command, that you're finding that the windows version of find is running and not the cygwin version, and that's your problem. The windows version of 'find' is found in your 'PATH' before the cygwin version. This can be solved in one of two ways. You may edit your system or user path (via the control panel) and put the cygwin paths first in your system or user path. However, I don't recommend this: it might interfere with a windows program or operation. Your second option is to edit either /etc/profile or $HOME/.bash_login or $HOME/.bash_profile, making sure that the cygwin paths are placed before the default windows paths. Specifically, you'd be wanting /usr/bin (if I recall correctly; I don't have cygwin machine handy right now) first in the path. Once this is done, log out of cygwin, log back in and your paths should be fixed. On Sun, 2003-03-02 at 05:44, Fernando Bastos wrote: > Hello, > When I do 'type find', I pick up the Win find.exe. Well, how can I solve = the > problem? I am not expert enough and I could not find any information abou= t > that! > Thanks a lot! >=20 > Bastos > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Fernando Jo=E3o Pereira de Bastos > e-mail: fbastos AT fc DOT ul DOT pt > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003 >=20 >=20 > -- > 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/ --=20 David Means sed is ed on LSD=20 -- Pat Becker --=-UtrI9O3DhZS0qhULh++O Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEABECAAYFAj5iL+gACgkQUd0KwqAz4arEEwCaAw4iux1l95P52tLrp5vhRpP5 YtUAnAgBA5xa3Oe/Bnd0FoXzNTzrLt8S =W6wR -----END PGP SIGNATURE----- --=-UtrI9O3DhZS0qhULh++O--