Skip to content

Instantly share code, notes, and snippets.

@jackkinsella
Created July 25, 2012 14:39
Show Gist options
  • Save jackkinsella/3176506 to your computer and use it in GitHub Desktop.
Save jackkinsella/3176506 to your computer and use it in GitHub Desktop.
Convert Blueprint to Twitter Bootstrap Span Classes - one-liner
# Commit before using this script since it changes your files permanently.
# Run from your web app's root folder.
ack -l "span-[0-9][0-9]?" | xargs sed -i "" -E 's/span-([0-9]{1,2})/span\1/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment