有^M特殊符号,linuxa经常会影响shell的执行。
最简单的,就是用vi打开文本。
然后
set fileformat=unix
保存即可
其他方法参考文章
http://blog.csdn.net/lhf_tiger/article/details/8203013
最简单的,就是用vi打开文本。
然后
set fileformat=unix
保存即可
其他方法参考文章
http://blog.csdn.net/lhf_tiger/article/details/8203013