^m的解决方法
cat -e test.txt 是不是有出现^M 这样的字符(windows换行符)

有的话先sed 's/\r//' -i test.txt

再执行

paste -d ' ' test.txt test1.txt

或用

unix2dox
游客 | 登入