newline in patch command output

Baurjan Ismagulov ibr@ata.cs.hun.edu.tr
Wed May 5 12:52:00 GMT 2004


Hello,

I wish to use diff and patch on files with CR/LF newlines. I've
installed cygwin with DOS text file type. Diff produced a patch with
CR/LF. When I try to apply this patch, the modified files contain only
LF, and I have to run unix2dos on them. How can I make patch produce
output files with CR/LF in DOS mode?

I've tried to search this in google and list archives, but "patch"
brought too many false hits :( .

Thanks in advance,
Baurjan.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list