awk奇数行二 # 利用awk的getline函数也能打印奇数行 root@bwhhkle:~# cat e 1a 2b 3c 4d 5e 6f 7g 8h root@bwhhkle:~# awk '{print;getline}' e 1a 3c 5e 7g Tags: awk, awk详解, getline Read more articles Previous Postawk去重awk奇数行 Next Postawk拆分行二 You Might Also Like sed正则 February 25, 2015 去重复空行 March 18, 2016 mysql备份清理脚本 June 8, 2017