Skip to content

Instantly share code, notes, and snippets.

@ebeigarts
Created December 4, 2012 14:24
Show Gist options
  • Save ebeigarts/4204434 to your computer and use it in GitHub Desktop.
Save ebeigarts/4204434 to your computer and use it in GitHub Desktop.
GNU Sed
brew install gnu-sed

Replace \t with 2 spaces

find app/{controllers,models,views} db/ lib/ -type f -exec gsed -b -i 's/\t/  /g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment