unix下行尾^M解决办法:
1.windows上传unix时,FTP选择ASCII方式传输。
2.dos2unix -437 olfile newfile
ps:unix系统下,more、cat打开文件^M是不可见字符,但vi可见。
http://blog.chinaunix.net/uid-699191-id-2680388.html
unix下行尾^M解决办法:
1.windows上传unix时,FTP选择ASCII方式传输。
2.dos2unix -437 olfile newfile
ps:unix系统下,more、cat打开文件^M是不可见字符,但vi可见。
http://blog.chinaunix.net/uid-699191-id-2680388.html