Skip to content

Instantly share code, notes, and snippets.

@mkanenobu
Created February 18, 2019 01:50
Show Gist options
  • Save mkanenobu/fc587846b4631583bfb2b467621bd465 to your computer and use it in GitHub Desktop.
Save mkanenobu/fc587846b4631583bfb2b467621bd465 to your computer and use it in GitHub Desktop.
sed -e 's/\.[^\.]*$//'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment