#!/bin/bash

echo -e "\e[32mFixing tabs for all PHP files...\e[0m"
for file in $(find . -name "*.php");
do
    echo -e "\e[33m+ $file\e[0m"
    expand -t 4 "$file" > "${file}.tmp" && mv "${file}.tmp" "$file"
done
echo -e "\e[32mDone.\e[0m"

#!/bin/bash

echo -e "+ Fixing tabs for all PHP files..."
for file in $(find . -name "*.php");
do
    echo -e "+ $file"
    expand -t 4 "$file" > "${file}.tmp" && mv "${file}.tmp" "$file"
done
echo -e "+ Done."

--- 
+++ 
@@ -1,9 +1,9 @@
 #!/bin/bash
 
-echo -e "\e[32mFixing tabs for all PHP files...\e[0m"
+echo -e "+ Fixing tabs for all PHP files..."
 for file in $(find . -name "*.php");
 do
-    echo -e "\e[33m+ $file\e[0m"
+    echo -e "+ $file"
     expand -t 4 "$file" > "${file}.tmp" && mv "${file}.tmp" "$file"
 done
-echo -e "\e[32mDone.\e[0m"
+echo -e "+ Done."
Add a bit of joy.
