projects
/
infodrom.org
/
infocon.infodrom.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved layout
[infodrom.org/infocon.infodrom.org]
/
bin
/
fixsuffix
diff --git
a/bin/fixsuffix
b/bin/fixsuffix
index
e639d8b
..
d12cb97
100755
(executable)
--- a/
bin/fixsuffix
+++ b/
bin/fixsuffix
@@
-5,7
+5,7
@@
# .html -> .shtml
# Require "<!--#include"
#
-# .html -> .php
3
+# .html -> .php
# Require "<?"
for f in $*
@@
-18,7
+18,7
@@
do
if grep -q '<?' $f
then
base=${f%.html}
- mv -f $f $base.php
3
+ mv -f $f $base.php
fi
fi
done