I have a project that has code that was contributed by many people without a proper policy on tab space (I know, huge mistake.)
What’s the best way to normalize all tabs to spaces? Optimally some kind of a script that can do this to all files via the command line at once.
I know of Ruby Beautifier, but I didn’t have any luck with ERB files (it also doesn’t run on 1.9).
Thanks in advance
EDIT:
Forgot to say that we use Mac OS X
There’s a command line utility bundled with OS X called tab2space that you might find useful. It’s probably available on other platforms too.