Skip to content

Instantly share code, notes, and snippets.

@ereli
Last active March 9, 2018 05:36
Show Gist options
  • Save ereli/084f9f4accb479e7cb33da9eb21411bb to your computer and use it in GitHub Desktop.
Save ereli/084f9f4accb479e7cb33da9eb21411bb to your computer and use it in GitHub Desktop.
remove leading counts (numbers) and white spaces from the output of sort|uniq -c if you actually just want the values.
pbpaste |tr -d [0-9]| sed -e 's/^[[:space:]]*//'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment