Skip to content

Instantly share code, notes, and snippets.

@aaronky
Created August 16, 2011 18:38
Show Gist options
  • Save aaronky/1149810 to your computer and use it in GitHub Desktop.
Save aaronky/1149810 to your computer and use it in GitHub Desktop.
sed "s/-[^-]*$//"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment