shell--合并两行为一行

cat tmp.txt | xargs -n2

上面命令讲tmp.txt中的两行合并成一行

原文地址:https://www.cnblogs.com/helloweworld/p/3826321.html