X-Spam-Check-By: sourceware.org
Date: Thu, 3 Aug 2006 21:04:50 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.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@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <announce.20060802124250.GP8152@calimero.vinschen.de> <44D0E959.70903@netacquire.com> <20060803075248.GA23629@calimero.vinschen.de> <44D243B4.3050609@netacquire.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <44D243B4.3050609@netacquire.com>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

