Created
March 14, 2012 19:25
-
-
Save jappy/2038841 to your computer and use it in GitHub Desktop.
unix command recursive sed like search and replace that works on mac os x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# searches from ./ | |
find . -type f|xargs perl -pi -e 's/\t/ /g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
here we are search for tabs and replacing them with 4 spaces