• 在windows下的文本文件的每一行结尾,都有一个回车(‘\n’)和换行(‘\r’)
    • linux下的文本文件的每一行结尾,只有一个回车(‘\n’);

    vscode直接可以切换
    image.png
    image.png