The definition of line terminator has been extended to include end of stream, or one of the previously defined line terminators `'\n'`, `'\r'`, or `'\r`\`n'` followed immediately by end of stream. This changes behavior in certain cases. For example, a file containing the lines <pre>line 1\n line 2\n line 3</pre> would, before this change, have been considered to contain two lines, each terminated by '\n'. After this change, it is considered to contain three lines, the third being terminated by end of stream.
|