[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [50 character or so descriptive subject here (for reference)]
From: |
Phil Benchoff |
Subject: |
Re: [50 character or so descriptive subject here (for reference)] |
Date: |
Mon, 28 Jan 2002 09:20:48 -0500 |
User-agent: |
Mutt/1.2.5i |
On Mon, Jan 28, 2002 at 08:47:29AM -0500, Chet Ramey wrote:
> > Machine Type: i586-mandrake-linux-gnu
> >
> > Bash Version: 2.05
> > Patch Level: 1
> > Release Status: release
> >
> > Description:
> > :: on path causes cwd to be searched for executables, i.e. ::
> > in the path acts like :.:
>
> This is not a bug. This is how Bourne-style shells have always behaved.
Thanks for the reply. That is kind of an unfortunate behavior. It
ended up on my path via an assortment of startup scripts that do
things like
PATH=$PATH:/some/new/dir
or
PATH=/some/new/dir:$PATH
Anyway, I'll figure out where I'm getting it from and fix it.
You may want to consider a builtin function that will remove :: from the
path or maybe one that will prevent the current directory from being
searched even if it is on the path.
Thanks again for the reply,
Phil
- [50 character or so descriptive subject here (for reference)], (continued)
- [50 character or so descriptive subject here (for reference)], root, 2002/01/14
- Re: [50 character or so descriptive subject here (for reference)], Chet Ramey, 2002/01/14
- [50 character or so descriptive subject here (for reference)], Al Elgert, 2002/01/14
- [50 character or so descriptive subject here (for reference)], elk, 2002/01/21
- [50 character or so descriptive subject here (for reference)], benchoff, 2002/01/25
- Re: [50 character or so descriptive subject here (for reference)], Chet Ramey, 2002/01/28
- Re: [50 character or so descriptive subject here (for reference)],
Phil Benchoff <=
- Re: [50 character or so descriptive subject here (for reference)], Chet Ramey, 2002/01/28