Skip to content

Instantly share code, notes, and snippets.

@karlin
Created March 16, 2010 19:12
Show Gist options
  • Save karlin/334379 to your computer and use it in GitHub Desktop.
Save karlin/334379 to your computer and use it in GitHub Desktop.
foo="1.jar:2.jar:3.jar"
echo ${foo[@]//.jar}
# => 1:2:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment