Created
May 10, 2011 21:29
-
-
Save dpritchett/965416 to your computer and use it in GitHub Desktop.
Sort each row in this wordcounts text file by second field descending
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
# sort -rk 2 gets reverse sort order, key = 2nd field | |
cat ./output/* | sort -rk 2 | more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment