[总结]^m的解决方法

773阅读 0评论2011-11-30 linuxflj
分类:

cat -e test.txt 是不是有出现^M 这样的字符(windows换行符)?
有的话先sed 's/\r//' -i test.txt
再执行
paste -d ' ' test.txt test1.txt

 

或用

unix2dox

上一篇:ospf的常用配置
下一篇:没有了