I’ve just created a Python script that will take a filename on the command line and convert all of its tabs into the given number of spaces (2nd argument).
The original tabs2spaces.py download is currently unavailable. The legacy file is also missing from the current live WordPress site.
It doesn’t overwrite the original file but instead creates a new file with a “notabs_” prefix. Script is covered by the GNU GPL.
-Wayne
