Re: newline in patch command output

2004-05-06 Thread Corinna Vinschen
On May 5 06:50, Brian Dessent wrote: Baurjan Ismagulov wrote: 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

Re: newline in patch command output

2004-05-06 Thread Baurjan Ismagulov
Hello, Corinna. On Thu, May 06, 2004 at 10:08:53AM +0200, Corinna Vinschen wrote: I'm not sure if it must, but it's the solution which costs as few grief as possible. I tried various combinations but in the end, writing all output files in binary was the only one to stop patch to screw up

newline in patch command output

2004-05-05 Thread Baurjan Ismagulov
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

Re: newline in patch command output

2004-05-05 Thread Brian Dessent
Baurjan Ismagulov wrote: 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

Re: newline in patch command output

2004-05-05 Thread Baurjan Ismagulov
Hello, Brian! Thank you for a prompt reply. On Wed, May 05, 2004 at 06:50:43AM -0700, Brian Dessent wrote: patch is a tricky area in terms of line-endings. This is mostly explained in http://www.cygwin.com/ml/cygwin/2003-03/msg00492.html. Wow! How did you locate this message? I see it

Re: newline in patch command output

2004-05-05 Thread Brian Dessent
Baurjan Ismagulov wrote: patch is a tricky area in terms of line-endings. This is mostly explained in http://www.cygwin.com/ml/cygwin/2003-03/msg00492.html. Wow! How did you locate this message? I see it appearing in results for patch newlines but not for patch newline (I use