delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/30/17:31: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
Reply-To: <sdelrio AT home DOT com>
From: "Sergio Del Rio" <sdelrio AT home DOT com>
To: "'Mark Hadfield'" <m DOT hadfield AT niwa DOT cri DOT nz>
Cc: <cygwin AT cygwin DOT com>
Subject: RE: Problems with .EXE files overriding shell scripts in PATH.
Date: Mon, 30 Apr 2001 14:14:18 -0700
Message-ID: <000501c0d1ba$85695950$01de6f0a@CSDR.CA>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
In-Reply-To: <001201c0d1b9$b8f283b0$d938a8c0@Hadfield>

The output from uname -a is:

CYGWIN_NT-5.0 SDELRIO 1.1.8(0.34/3/2) 2001-01-31 10:08 i686 unknown

Regards,
Sergio Del Rio
Templates 4 Business Inc.

-----Original Message-----
From: Mark Hadfield [mailto:m DOT hadfield AT niwa DOT cri DOT nz]
Sent: April 30, 2001 2:09 PM
To: sdelrio AT home DOT com
Cc: cygwin AT cygwin DOT com
Subject: Re: Problems with .EXE files overriding shell scripts in PATH.

> Sergio Del Rio wrote:
> >
> > For the most part, all shell scripts that I have are found by bash if
they
> > are in the PATH.
> >
> > I am trying to write a script that overrides an existing SQLPLUS.EXE
file
> > that is also in the path. I created a script called sqlplus and placed
it
> > into /usr/local/bin which is the first thing in the path. What I notice
is
> > that the sqlplus shell script is not getting executed at all, the system
is
> > executing the SQLPLUS.EXE program which is found later on in the path.

Cygwin *used* to do this. (The current Net release doesn't. I don't recall
when it was fixed.)

What version are you running?

---
Mark Hadfield
m DOT hadfield AT niwa DOT cri DOT nz  http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research


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

- Raw text -


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