Code Block |
---|
#!/bin/bash [ $# -ne 1 ] && echo "Usage $0 <Datei>" [ ! -f $1 ] && echo "Usage $0 <Datei>" cat $1 |sed -e 's/ä/\ä/g'|sed -e 's/ü/\ü/g'|sed -e 's/ö/\ö/g'|sed -e 's/Ä/\Ä/g'|sed -e 's/Ü/\Ü/g'|sed -e 's/Ö/\Ö/g'|sed -e 's/ß/\ß/g' |sed -e 's/§/\§/g' >$1.new |