Cygwin and CR/LF

Emmanuel Blot emmanuel.blot@ireland.sun.com
Thu Sep 21 09:33:00 GMT 2000


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

the problem is that cpio gets the \r\n and is unable to interpret the
pathnames
I also tried with the tar command, and I get the same errors.

By the way, I have also tried to set the CYGWIN32 environment variable to
binmode / nobinmode.

What is the difference between CYGWIN  and CYGWIN32  ??

Anyone can help me ?

Thanks,
Emmanuel.



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



More information about the Cygwin mailing list