Create the suffix .php instead of .php3
authorJoey Schulze <joey@infodrom.org>
Tue, 26 Dec 2006 19:42:28 +0000 (19:42 +0000)
committerJoey Schulze <joey@infodrom.org>
Tue, 26 Dec 2006 19:42:28 +0000 (19:42 +0000)
bin/fixsuffix

index e639d8b..d12cb97 100755 (executable)
@@ -5,7 +5,7 @@
 # .html -> .shtml
 #   Require "<!--#include"
 #
 # .html -> .shtml
 #   Require "<!--#include"
 #
-# .html -> .php3
+# .html -> .php
 #   Require "<?"
 
 for f in $*
 #   Require "<?"
 
 for f in $*
@@ -18,7 +18,7 @@ do
         if grep -q '<?' $f
        then
            base=${f%.html}
         if grep -q '<?' $f
        then
            base=${f%.html}
-           mv -f $f $base.php3
+           mv -f $f $base.php
        fi
     fi
 done
        fi
     fi
 done