Created
May 18, 2017 02:49
-
-
Save db0company/57f892b70d107ae490ed28fdaf9c8977 to your computer and use it in GitHub Desktop.
Takes a file with one vote per line, returns a ranking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat votes.txt | sort | uniq -c | sort -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment