diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/umlauts.sh | 26 |
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/\Ä/\Ä/g' \ - -i -e 's/\ä/\ä/g' \ - -i -e 's/\Ö/\Ö/g' \ - -i -e 's/\ö/\ö/g' \ - -i -e 's/\Ü/\Ü/g' \ - -i -e 's/\ü/\ü/g' \ - -i -e 's/\ß/\ß/g' \ - -i -e 's/\^-/\–/g' \ - -i -e 's/\^ /\ /g' \ - -i -e 's/\^</\</g' \ - -i -e 's/\^>/\>/g' \ - -i -e 's/\^&/\&/g' \ - -i -e 's/\^\^/\^/g' \ - -i -e 's/\^x/\×/g' \ - -i -e 's/\^r/\→/g' \ - -i -e 's/\^b/\•/g' \ - -i -e 's/\^e/\⇄/g' \ -$1 - |