delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/03/15:05:01

X-Spam-Check-By: sourceware.org
Date: Thu, 3 Aug 2006 21:04:50 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: line endings, file path names (was: Updated: sed-4.1.5-2)
Message-ID: <20060803190450.GB5300@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20060802124250 DOT GP8152 AT calimero DOT vinschen DOT de> <44D0E959 DOT 70903 AT netacquire DOT com> <20060803075248 DOT GA23629 AT calimero DOT vinschen DOT de> <44D243B4 DOT 3050609 AT netacquire DOT com>
Mime-Version: 1.0
In-Reply-To: <44D243B4.3050609@netacquire.com>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Aug  3 11:43, Joachim Achtzehnter wrote:
> Corinna Vinschen wrote:
> >and I'm seriously contemplating (for years) to just remove textmode
> >from Cygwin.
> 
> This is where I disagree completely. From "CRLF was a bad idea" does not 
> follow "hence we should not support it". This would just be sticking your 
> head in the sand. Bad idea or not, you, or rather a text processing tool 
> like sed, cannot avoid being faced by millions of documents that use CRLF 
> and a few with Mac line endings too. The realization that it was a bad idea 
> does not make these go away.

So, since millions of users have DOS and Mac lineending files, every
system in the world has to support them?  You're out of luck.  Sed does
not support CRLF and CR line endings on POSIX systems.  It just has a
bad hack for Windows systems which is also enabled for Cygwin.  On other
systems you have to take the official route over dos2unix or recode or
whatever.  Oh well, the longer this discussion takes, the more I regret
my decision to revert sed to textmode.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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