From: earnie_boyd AT hotmail DOT com (Earnie Boyd) Subject: Re: mysterious bash problem 14 Jan 1998 15:11:56 -0800 Message-ID: <19980113142530.20840.qmail.cygnus.gnu-win32@hotmail.com> Content-Type: text/plain To: Ulrich DOT Lauther AT mchp DOT siemens DOT de Cc: gnu-win32 AT cygnus DOT com >From: Ulrich Lauther >Subject: mysterious bash problem >To: gnu-win32 AT cygnus DOT com >Date: Mon, 12 Jan 1998 13:08:27 +0100 (MET) >Reply-To: Ulrich DOT Lauther AT mchp DOT siemens DOT de > >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): To execute a script the first non-blank line must begin with #! /bin/sh where /bin/sh is the path and shell you want to execute. > >bash$ foo > >gives: > >bash.exe: ./foo: (null) > >however, > >bash$ bash foo This would be as expected since the shell execution wasn't set properly. > >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". > - \\||// ---o0O0--Earnie--0O0o---- -earnie_boyd AT hotmail DOT com- ------ooo0O--O0ooo------- Check out these great gnu-win32 related sites: ftp://ftp.cygnus.com/pub/gnu-win32/latest/ (ftp site) http://www.cygnus.com/pubs/gnupro/ (Comercial Page) http://www.cygnus.com/misc/gnu-win32/ (Project Page) http://www.cygnus.com/ml/gnu-win32 (Mail Archives) http://www.itribe.net/virtunix/winhelp-man-pages/ (HTML Man Pages) http://www.lexa.ru/sos (Sergey Okhapkin) ftp://www.lexa.ru/pub/domestic/sos/ (Sergey's ftp site) http://www.fu.is.saga-u.ac.jp/~colin/gcc.html (Colin Peters) http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ (Mumit Khan) http://gnu-win32.paranoia.ru (Chuck Bogorad) ftp://ftp.deninc.com/pub (Den Internet Services) ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - 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".