Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save willf/413256 to your computer and use it in GitHub Desktop.
Save willf/413256 to your computer and use it in GitHub Desktop.
sorting on numeric keys on in the first column
sort -k2 -rn -t" "
# where the text bewteen the "" is Ctrl-V TAB
@willf
Copy link
Author

willf commented May 25, 2010

Of course, -k is the column number (1-based), and -rn is "reverse numeric",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment