Skip to content

Instantly share code, notes, and snippets.

@panquetofobia
Created March 24, 2010 21:06
Show Gist options
  • Save panquetofobia/342812 to your computer and use it in GitHub Desktop.
Save panquetofobia/342812 to your computer and use it in GitHub Desktop.
# Expand tabs in php files.
$ for i in $(find ./* -iname "*.php"); do awk '{sub("\t"," ",$0); print $0}' $i > ~/e.tmp && cat ~/e.tmp > $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment