__director

AWK 小用--打印奇偶行

[root@xiaoyuan mnt]# cat file001 1 2 3 4 5 6 7 8 9 10 [root@xiaoyuan mnt]# awk 'i=!i' file001 1 3 5 7 9 [root@xiaoyuan mnt]# awk '!(i=!i)' file001 2 4

posted on 2020-04-26 21:40  __director  阅读(141)  评论(0编辑  收藏  举报

导航