1.^M(Mac: CTRL+V+M)
^M字符的来历和作用:在DOS/Windows里,文本文件的换行符为\r\n,而在Unix系统里则为\n,所以DOS/Windows里编辑过的文本文件到了Unix里,每一行都多了个^M。所以^M只是一个换行符号,没有实际的用处,我们可以将它保留,也可以将它删除
Bugs
最新推荐文章于 2021-02-12 10:39:33 发布
1.^M(Mac: CTRL+V+M)
^M字符的来历和作用:在DOS/Windows里,文本文件的换行符为\r\n,而在Unix系统里则为\n,所以DOS/Windows里编辑过的文本文件到了Unix里,每一行都多了个^M。所以^M只是一个换行符号,没有实际的用处,我们可以将它保留,也可以将它删除