Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Apparently-From: <earnie?boyd@yahoo.com>
Message-ID: <3AF7ED4B.3E120086@yahoo.com>
Date: Tue, 08 May 2001 08:57:47 -0400
From: Earnie Boyd <earnie_boyd@yahoo.com>
Reply-To: Cygwin Users <cygwin@cygwin.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Cygwin Users <cygwin@cygwin.com>
CC: "Karr, David" <david.karr@cacheflow.com>
Subject: Re: Status on issue with PATH ignoring scripts with same name as exesin 
 1.3.1?
References: <2C08D4EECBDED41184BB00D0B747334202FB437B@exchanger.cacheflow.com> <3AF7EB79.1A180273@yahoo.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Earnie Boyd wrote:
> 
> "Karr, David" wrote:
> >
> > I haven't reexamined this issue in several days.  I have "wrapper" scripts
> > with the same name as exes later in the path.  This worked fine in 1.1.8,
> > but now that I'm trying to use 1.3.1, it doesn't work anymore.  When the
> > shell does a PATH search, it ignores the script and just uses the exe.  I'm
> > just looking for some information on this.  I can downgrade my cygwin1.dll
> > to 1.1.8 for now.
> >
> 
> Why would anyone depend on this working?  It is simply an implementation
> specific issue.  I suggest instead of downgrading that you rename your
> scripts.  The simple reason is that Cygwin stat's foo for foo.exe and if
> foo.exe is what is being executed by the shell then IMNSHO it's correct
> the way it is now and broken before.
> 

Oh, if you end the name with a period then it executes the script
instead of the exe.  E.G.:  I have a program foo.exe that output bar.  I
have a script foo that echoes foo.  If I execute `foo' I get bar but if
I execute `foo.' I get foo.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

