Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Code Block
#!/bin/bash
[ $# -ne 1 ] && echo "Usage $0 <Datei>"
[ ! -f $1 ] && echo "Usage $0 <Datei>"
cat $1 |sed -e 's/ä/\&auml;/g'|sed -e 's/ü/\&uuml;/g'|sed -e 's/ö/\&ouml;/g'|sed -e 's/Ä/\&Auml;/g'|sed -e 's/Ü/\&Uuml;/g'|sed -e 's/Ö/\&Ouml;/g'|sed -e 's/ß/\&szlig;/g' |sed -e 's/§/\&sect;/g' >$1.new