delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/02/11:23:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Subject: Re: Problems with FIND
From: David Means <dmeans AT the-means DOT net>
To: cygwin AT cygwin DOT com
In-Reply-To: <000701c2e0a8$c33f5370$6700000a@bastos>
References: <000701c2e0a8$c33f5370$6700000a AT bastos>
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--

- Raw text -


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