Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <001201c0d1b9$b8f283b0$d938a8c0@Hadfield> From: "Mark Hadfield" To: Cc: References: <000001c0cdbb$9dbcabe0$01de6f0a AT CSDR DOT CA> <3AEDBD10 DOT 190E17AD AT yahoo DOT com> Subject: Re: Problems with .EXE files overriding shell scripts in PATH. Date: Tue, 1 May 2001 09:08:36 +1200 Organization: NIWA MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > 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