Skip to content

Instantly share code, notes, and snippets.

@AdamGagorik
Last active September 17, 2015 16:19
Show Gist options
  • Save AdamGagorik/653671486f11491215e8 to your computer and use it in GitHub Desktop.
Save AdamGagorik/653671486f11491215e8 to your computer and use it in GitHub Desktop.
Extract stub from file name in bash.
stub=${file%.*}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment