Why does readln include the line terminator?

BCS ao at pathlink.com
Tue Apr 14 14:53:00 PDT 2009


Reply to Georg,

> BCS wrote:
> 
>> Only if you considering wanting to maintain
>> merge-ability/diff-ability as the exception. Some, if not most,
>> source control/diff/merge tools consider changes in line endings as
>> changes.
>> 
> Doesn't this kind of prove my point? Changing a line ending /should
> not/ be a "difference". Not by default. They should have a switch to
> explicitly turn it on.
> 
> A good diff is complex enough that it should not stumble on form when
> it is supposed to examine content.
> 

I make no assertions about what should be, only what is.





More information about the Digitalmars-d mailing list