Linux 替换^M字符 方法

有^M特殊符号,linuxa经常会影响shell的执行。
最简单的,就是用vi打开文本。
然后
set fileformat=unix
保存即可


其他方法参考文章
http://blog.csdn.net/lhf_tiger/article/details/8203013

猜你喜欢

转载自phl.iteye.com/blog/2242016