-1
文件格式大:算上IP 猫file.txt的awk的for循环,如果不是数字打印
2 11.22.33.33
10 33.33.44.55
我想打印线,$ 1> $ MAX
MAX=10
cat $ip_file | awk '{counts[$1]++} END{ for (ip in counts) if ($(counts[ip]) > "'${MAX}'") print counts[ip] " " ip }
的纸条上面做不工作,请帮忙。