This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems with .EXE files overriding shell scripts in PATH.


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?


Regards,
Sergio Del Rio
Templates 4 Business Inc.
Cell: (604) 788-3604
Fax: (604) 582-7877



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]