This is the mail archive of the cygwin@sourceware.cygnus.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]

mysterious bash problem


On one NT host where I don't know who fiddled with what happens
the following:

Let foo be a valid shell script (starting with a ":" in the first line, BTW):

bash$ foo

gives:

bash.exe: ./foo: (null)

however,

bash$ bash foo

results in normal execution of the script

this doesn't happen with all scripts, just some.

ls -l gives -rw-r--r-- in all cases

What the hell is going on here?
-- 
	-ulrich

----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens ZT SE 4         Internet: Ulrich.Lauther@mchp.siemens.de
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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