Skip to content

Instantly share code, notes, and snippets.

@satooshi
Last active December 14, 2015 05:59
Show Gist options
  • Save satooshi/5039169 to your computer and use it in GitHub Desktop.
Save satooshi/5039169 to your computer and use it in GitHub Desktop.
cat categories | awk '{count[$0]++}END{for(i in count)print count[i], i}' | sort -nr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment