delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/14/00:41:09

From: ulrich DOT lauther AT mchp DOT siemens DOT de (Ulrich Lauther)
Subject: mysterious bash problem
14 Jan 1998 00:41:09 -0800 :
Message-ID: <199801130831.JAA04984.cygnus.gnu-win32@fubini.mchp.siemens.de>
Reply-To: Ulrich DOT Lauther AT mchp DOT siemens DOT de
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 DOT Lauther AT mchp DOT siemens DOT de
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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