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 awk拆分行二 May 17, 2016 awk偶数行 March 18, 2015 bmMemcached数据更新管理脚本 July 12, 2019