delorie.com/archives/browse.cgi | search |
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 |
X-Apparently-From: | <earnie?boyd AT yahoo DOT com> |
Message-ID: | <3AEDBD10.190E17AD@yahoo.com> |
Date: | Mon, 30 Apr 2001 15:29:20 -0400 |
From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
Reply-To: | Cygwin Users <cygwin AT cygwin DOT com> |
X-Mailer: | Mozilla 4.76 [en] (WinNT; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | sdelrio AT home DOT com |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Problems with .EXE files overriding shell scripts in PATH. |
References: | <000001c0cdbb$9dbcabe0$01de6f0a AT CSDR DOT CA> |
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. > > Why does this happen? > > How can I get around it? > Is the first line of your script `#!/bin/sh'? 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |