Cygwin and CR/LF

Chris Faylor cgf@cygnus.com
Thu Sep 21 14:27:00 GMT 2000


On Thu, Sep 21, 2000 at 05:28:42PM +0100, Emmanuel Blot wrote:
>Hello,
>
>I still have some difficulties with the CR/LF conversion provided with
>cygwin (dll 1.1.4)
>
>I would like that the 'echo' command does _not_ produce CR/LF dual chars,
>but only the Unix LF.
>I've tried to set the environment variable CYGWIN to binmode then to
>nobinmode and the results is always the same: CR,LF.  What should I do
>
>I need this command to work with the cpio command:
>
>echo 'file1' >> filelist
>echo 'file2' >> filelist
>...
>cat filelist | cpio -pdu

If filelist is on a directory mounted as -b, then this takes precedence.

CYGWIN=binmode only works when you are not a child of a bash shell.


>What is the difference between CYGWIN  and CYGWIN32  ??

CYGWIN32 is no longer supported.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list