Created
February 27, 2017 14:00
-
-
Save heluvaguy/95524821b7b604ca7b9719780ce5a456 to your computer and use it in GitHub Desktop.
Sort csv based on a field
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 -t, -nr -k5 file.csv | |
# sorts in reverse based on the fifth column. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment