sed合并偶数行到上一行 # sed合并偶数行到上一行 root@bwhhkle:~# cat lines.bak 1 2 3 4 5 6 7 8 root@bwhhkle:~# sed '{N;s/\n/\t/}' lines.bak 1 2 3 4 5 6 7 8 Tags: sed合并偶数行到上一行, sed合并行, sed详解 Read more articles Previous Postsed删除指定行数 Next Postsed合并行 You Might Also Like bm检测打开关闭cdn July 17, 2019 find删除文件 March 18, 2015 tee妙用 tee详解 July 1, 2019