Peter's Pages Peter's Pages
Rather like Text Encodings the end of lines can be represented differently in text files from different sources.

So one source may use "\n", another "\r", and yet another "\r\n", and others a mixture of all of those.

The Ruby code which reads the source files for the articles explicitly looks for "\r" characters in the source lines got by IO.readlines().