delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/05/08:52:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 5 May 2004 15:51:53 +0300
From: Baurjan Ismagulov <ibr AT ata DOT cs DOT hun DOT edu DOT tr>
To: cygwin AT sources DOT redhat DOT com
Subject: newline in patch command output
Message-ID: <20040505125151.GA20299@ata.cs.hacettepe.edu.tr>
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.5.4i
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019