delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/16/10:26:56

From: ggp AT informix DOT com (Guy Gascoigne - Piggford)
Subject: Re: mysterious bash problem
16 Jan 1998 10:26:56 -0800 :
Message-ID: <3.0.3.32.19980114103940.020fdbf8.cygnus.gnu-win32@pop.pdx.informix.com>
References: <199801130831 DOT JAA04984 AT fubini DOT mchp DOT siemens DOT de>
Mime-Version: 1.0
To: Ulrich DOT Lauther AT mchp DOT siemens DOT de, gnu-win32 AT cygnus DOT com

You need to save your shell script as a UNIX file and not as a DOS one.

Guy

At 09:31 AM 1/13/98 +0100, Ulrich Lauther wrote:
>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

-
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