summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Random <jack@random.to>2014-07-30 02:33:02 +0200
committerJack Random <jack@random.to>2014-07-30 02:33:02 +0200
commit9e834a890b022a53e6380553a2f1c298cb291c6a (patch)
tree63b79630ce7d338d75179972e2fb8a60d5056eba
parente0fb62f689ca95a8130ae7d31ecf8dcb0e0bfdfd (diff)
foo
-rwxr-xr-xscripts/umlauts.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/scripts/umlauts.sh b/scripts/umlauts.sh
deleted file mode 100755
index 30b0dd5..0000000
--- a/scripts/umlauts.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/zsh
-# replace german umlauts and predefined character sequences
-# with html-entities in a file given as parameter
-# original script:
-# Michael Luthardt 2007
-# http://dr-luthardt.de/
-
-sed -i -e 's/\Ä/\&Auml;/g' \
- -i -e 's/\ä/\&auml;/g' \
- -i -e 's/\Ö/\&Ouml;/g' \
- -i -e 's/\ö/\&ouml;/g' \
- -i -e 's/\Ü/\&Uuml;/g' \
- -i -e 's/\ü/\&uuml;/g' \
- -i -e 's/\ß/\&szlig;/g' \
- -i -e 's/\^-/\&ndash;/g' \
- -i -e 's/\^ /\&nbsp;/g' \
- -i -e 's/\^</\&lt;/g' \
- -i -e 's/\^>/\&gt;/g' \
- -i -e 's/\^&/\&amp;/g' \
- -i -e 's/\^\^/\&#94;/g' \
- -i -e 's/\^x/\&times;/g' \
- -i -e 's/\^r/\&rarr;/g' \
- -i -e 's/\^b/\&bull;/g' \
- -i -e 's/\^e/\&#8644;/g' \
-$1
-