: # iso2html - changes ISO 8859 special characters to HTML-characters # hs, 14.11.1996 # # Note # o This script supports German "Umlaute" only if [ $# -eq 1 -a \( "$1" = "-h" -o "$1" = "-?" \) ] then echo "$0 - change ISO 8859 special characters to HTML characters" echo "usage: $0 [file ...]" exit 1 fi cat "$@" | sed ' s/ä/\ä\;/g s/ö/\ö\;/g s/ü/\ü\;/g s/Ä/\Ä\;/g s/Ö/\Ö\;/g s/Ü/\Ü\;/g s/ß/\ß\;/g '