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: bash -s from .bat file


Mikey wrote:
> your CYGWIN32 env var
> needs to be set to binmode
> and you need to get rid of \r
> from foo.sh.

I see. I can't set CYGWIN32 in 19.1 -- it causes cygwin32 to crash --
this is mentioned in the faq :-(

I'll try fiddling the file to make it binary (no \r).

> or you need to set nobinmode
> and make sure foo.sh has \r\n

Thanks.

Earl
-- 
>----------------------------------------------------------------------+
> Earl Chew                              mailto:earl_chew@hp.com       |
> Hewlett-Packard Australia              Tel:   +61 3 9210 5528        |
> Advanced Networks Division             Fax:   +61 3 9210 5550        |
> 347 Burwood Highway                    GPS:   37 51'46"S 145 10'03"E |
> Burwood East, Victoria 3151, Australia                               |
>----------------------------------------------------------------------+
-
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]