News for hackers. Stuff that matters.
Re:Regex character "$" doesn't mean "end-of-string" by DougBTX on Wednesday March 20, 2024 @11:54AM (#39768311)
Another way to look at it is that concatenating files should sum the line count. Concatenating two empty files produces an empty file, so 0 + 0 = 0. If “incomplete lines” are not counted as lines, then the maths still works out. If they counted as lines, it would end up as 1 + 1 = 1.

There are no comments on this comment yet.