summaryrefslogtreecommitdiff
path: root/scifi.buetow.org/content/replace.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-02-03 10:44:49 +0100
committerPaul Buetow <paul@buetow.org>2013-02-03 10:44:49 +0100
commit025e15b2ba7f54f87cf409fd7c3dd77746c72858 (patch)
tree007c5af4f921aa85665f4db56f6f4309668a5dab /scifi.buetow.org/content/replace.sh
parentfc0acd318710aa0bb566329a36d886b1455c21ec (diff)
add hosts
Diffstat (limited to 'scifi.buetow.org/content/replace.sh')
-rwxr-xr-xscifi.buetow.org/content/replace.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scifi.buetow.org/content/replace.sh b/scifi.buetow.org/content/replace.sh
new file mode 100755
index 0000000..d732248
--- /dev/null
+++ b/scifi.buetow.org/content/replace.sh
@@ -0,0 +1,6 @@
+#!/bin/bash -x
+
+find . -name \*.inc | while read inc; do
+ sed -i -e 's/ü/\&uuml;/g; s/Ü/\&Uuml;/g; s/ö/\&ouml;/g; s/Ö/\&Ouml;/g; s/ä/\&auml;/g; s/Ä/\&Auml;/g; s/ß/\&szlig;/g; s/–/-/g;' $inc
+done
+