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 分发执行获取cdn域名或状态 October 18, 2019 awk的0与”0″假与真awk真假 March 16, 2015 grep,sed,awk,perl等对正则表达式的支持的差别 January 25, 2017