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]

Re: mysterious bash problem


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@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]