Subject: Re: CRLF in cat output breaks scripts.
From: [email-masked] (Larry Hall)

14 Sep 1998 03:42:59 -0700
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email-masked] (Michael Weiser), [email-masked]
Cc: [email-masked]

At 01:57 PM 9/12/98 GMT, Michael Weiser wrote:
>Hello john, you wrote:
>>I must be missing something!  
>Jep. ;)
>
>>cat and other commands that use > to write files, put in CR's so that
>>we end up with CRLF at the end of every line.
>Just change to binary mounts (e.g. by setting fbinary under
>HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
>Setup\b15.0\mounts\<nr> to 1 for all your mounts).
>-- 
>bye, Michael

Actually, this isn't going to fix this problem.  The bash that comes with 
the distribution is set so that stdin, stdout, and pipes write in text mode.
If you really want these to work as they should, you need to either get 
the original bash source from a GNU archive or modify execute_cmd.c in the
bash source provided by Cygnus and remove the _setmode() statements...

Larry Hall                              [email-masked]
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02482-7797               http://www.rfk.com
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".