:set ff 查看文件类型
用 vim 转换,用vim打开文本文件,用 set fileformat=unix 转换
vim test.txt
:set fileformat=unix
:wq
fileformat=dos 或 fileformat=unix
转载于:https://blog.51cto.com/wangxiaoyong/1841626
:set ff 查看文件类型
用 vim 转换,用vim打开文本文件,用 set fileformat=unix 转换
vim test.txt
:set fileformat=unix
:wq
fileformat=dos 或 fileformat=unix
转载于:https://blog.51cto.com/wangxiaoyong/1841626