使用vi编辑,输入命令: :%s/^M/\r/g 用来把^M换成回车 注意的是^M要使用CTRL-V CTRL-M生成,而不是直接键入^M 转载于:https://www.cnblogs.com/hutao722/p/8350001.html