[Issue 1349] ^M pollution
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 23 12:56:19 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1349
------- Comment #4 from thomas-dloop at kuehne.cn 2007-07-23 14:56 -------
(In reply to comment #3)
> Modern text processing software should accept the following as line
terminations:
>
> LF (unix)
> CR (mac)
> CRLF (windows, DEC)
> If you are using software that doesn't recognize common line terminations,
that is a bug in that software, not the text file.
Correct. However the real issue are the Phobos and DMD-frontend sources shipped
with GDC. They use a mix of different line endings within a single file. That
kind of EOL mixing can cause serious trouble if the code is e.g. cut-n-pasted
into another application.
--
More information about the Digitalmars-d-bugs
mailing list