delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/25/15:25:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: "Hannu E K Nevalainen" <_garbage_collector_ AT telia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: sed and dos format
Date: Wed, 25 Aug 2004 21:24:34 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEEEFLDNAA._garbage_collector_@telia.com>
MIME-Version: 1.0
In-Reply-To: <412BA662.703AA852@dessent.net>
X-IsSubscribed: yes

Brian wrote:
> Regarding efficiency, I am strictly talking about the code path.
> Having Cygwin add a \r when the file is written the first time should
> be more efficient than reprocessing the whole thing after it's been
> processed the first time, or at the least reparsing the lines in an
> output filter pipeline to insert \r's.

Of course it would be more efficient, but as I wrote previously - one has to
have the consequences in mind.

>  Again my reply was under the
> context of "lots of files that *must* remain DOS-mode" where
> accidently forgetting a u2d somewhere breaks things just as bad as
> some obscure text-mode bug in some app.
>
> This is beginning to get trollish so I will cease further comment in
> this thread.

 ;-) why is it a troll when you're discussion alternative ways of doing
things? I'm not sure whether this is amusing or something else.

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems            --72-->

** mailing list preference; please keep replies on list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


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