Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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