Rename
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 17 Oct 2011 08:44:51 +0000 (10:44 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 17 Oct 2011 08:44:51 +0000 (10:44 +0200)
fixup-headers/fixup.sh [deleted file]
fixup-headers/footer.sh [deleted file]

diff --git a/fixup-headers/fixup.sh b/fixup-headers/fixup.sh
deleted file mode 100755 (executable)
index 1414047..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-R="$1"
-if test -z "$R"; then
-       echo "Supply range. Eg 2006-2009"
-       exit 1
-fi
-for f in `find . \( -name '*.[ch]' -or -name Makefile.am -or -name makefile \
-       -or -name '*.cpp' -or -name '*.hpp' -or -name license.txt \
-       -or -name README -or -name configure.ac -or -name '*.nsi' \
-       -or -name '*.rnc' \) -print`; do
-       echo $f
-       sed "s/Copyri.*20.*Data/Copyright (C) $R Index Data/g" < $f >${f}_new
-       if diff $f ${f}_new >/dev/null; then
-               :
-       else
-               cp ${f}_new ${f}
-       fi
-       rm ${f}_new
-done
-       
diff --git a/fixup-headers/footer.sh b/fixup-headers/footer.sh
deleted file mode 100755 (executable)
index 9a3296e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-for f in `find . \( -name '*.[ch]' -or -name '*.cpp' -or -name '*.hpp' \) -print`; do
-       echo $f
-       sed '/ * Local variables:/ {
-a\
- * c-basic-offset: 4\
- * c-file-style: "Stroustrup"\
- * indent-tabs-mode: nil\
- * End:\
- * vim: shiftwidth=4 tabstop=8 expandtab\
- */\
-
-q
-}' < $f >${f}_new
-       mv ${f}_new $f
-done
-