Hacker News new | past | comments | ask | show | jobs | submit login

> But I want to see how many attacks from each continent. So I call on my old friend awk for that

I don't understand what awk is accomplishing here. To get the count, just use uniq -c which you are doing (tip, you can also do a sort -rn after that)

the awk command looks like a noop to me, if you've only got the continents in the file




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: