Differences in end of line characters Mac, Windows, and Linux https://confluence.qps.nl/fledermaus7/questions-answers/other/differences-in-end-of-line-characters-mac-windows-and-linux
Here is how the different platforms end lines in ASCII files.
Windows - Lines end with both a <CR> followed by a <LF> character Linux - Lines end with only a <LF> character Macintosh (Mac OSX) - Lines end with only a <LF> character Macintosh (old) - Lines end with only a <CR> character