On 2/9/21 1:03 PM, Per Bothner wrote:
On general principles, I believe any program that reads text files
on *any* platforms should handle "\r\n" the same as "\n".
Not doing so is IMNSHO a bug.
Actually, I'd generalize this: All invisible "horizontal whitespace"
(' ', '\t', '\r') before a line-end ('\n', '\v', '\'f') should be ignored
(optionally with a warning the first time it is seen).
--
        --Per Bothner
p...@bothner.com   http://per.bothner.com/

Reply via email to