delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <40714FE2.9090204@cs.york.ac.uk> |
Date: | Mon, 05 Apr 2004 13:24:02 +0100 |
From: | Chris Jefferson <caj AT cs DOT york DOT ac DOT uk> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Bogus assumption prevents d2u/u2d/conv/etal working on mixed files. |
References: | <DFEHICGKJPBGEDPLIGKIKENPFCAA DOT ken DOT thompson AT gtri DOT gatech DOT edu> |
In-Reply-To: | <DFEHICGKJPBGEDPLIGKIKENPFCAA.ken.thompson@gtri.gatech.edu> |
X-IsSubscribed: | yes |
Ken Thompson wrote: >I don't think the behavior should be changed. d2u stands for dos to unix >which means \r\n to \n. Why would one expect a dos to unix utility to >convert mixed line terminator files. If you need such a utility, then add >one but don't take a utility that does dos to unix and try to turn it in to >"anything" to unix or if you do then change the name. Just my 2 cents worth > > > And it would agree that it should be changed. I would expect dos to unix to turn \r\n into \n, ignoring the fact it may or may not wander into a \n first. I'd also like to express interest in having this changed. I knocked up my own program to do this, because particularily in cygwin I find it easy to accidentally edit a file in a few different editors and end up with a mess of line endings which need to be all syncronised to one system (of course I could just learn to not mess my files up ^_^ ) Chris -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |