:
# 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
'