Hello,

* On Mon, Sep 12, 2005 at 09:01:41PM +0200 Christian Hujer wrote:

> An algorithm that eats CR as well as CR/LF as well as LF isn't that difficult.

This is not the point. Of course, you can built support for this into
each and every program. But: Why should you? The OS (or the run-time
library of your language) knows how to deal correctly with this. Just
open the file and text mode and let the conversion take place
automatically.

I remember a general programming rule:

     "Don't try to re-invent the wheel."

Doing conversions between different formats is the task of special
conversion tools, not of each and every compiler/editor/... .

As you were already told, there are many more conventions available than
just CR, LF, CR/LF. Some new ones may come up later.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis                              http://cbm4win.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/


_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to