Tab Replacer

Home --> Useful Scripts --> Tab Replacer

The Script

Taking a side in the holy war on the usage of space vs tab characters in source code, I prefer spaces.

The script replaces all tab characters with 4 space characters (in all files in the current working directory that end with .h, .cpp, or .py). To run the script, remove the .txt extension and enter the following command: