This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: sed and dos format


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]