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: CRLF in cat output breaks scripts.


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                              lhall@rfk.com
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
"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]