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
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