Mac OS ends lines with the carriagereturncharacter, and many text processing tools treat such files as a single line. To fix that, we can use the following tricks.
Mac OS的行尾以回车字符结束,许多文本处理工具将这样的文件作为一行来处理。
2
For the carriagereturn and linefeed character combination.