awk数组计数和去重---统计域名访问次数

awk '{url[$1]++}END{for(i in url)print i,url[i]}' test

原文地址:https://www.cnblogs.com/yangxiaochu/p/8559232.html