X-Spam-Check-By: sourceware.org Date: Thu, 3 Aug 2006 21:04:50 +0200 From: Corinna Vinschen 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: <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 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/