摘要: # awk.awk { if(data[$0]++ == 0) lines[++count] = $0} END { for (i=1;i<=count;i++) print lines[i]} 脚本用法如下: awk -f awk.awk text_to_process cat text_to_p 阅读全文
posted @ 2018-09-27 07:29 东宫得臣 阅读(255) 评论(0) 推荐(0) 编辑