常见的文件用命令处理

Q:想把偶数行和奇书行合并在一起,用awk '{printf "%s ",$0;getline;print;}' hh.log 

原文地址:https://www.cnblogs.com/sunyuhuan/p/10330313.html