: ########################################################################## # Shellscript: htmlquote - convert HTML characters to entity references # Author : Heiner Steven # Category : File Conversion, HTML # SCCS-Id. : @(#) htmlquote 1.2 02/03/12 ########################################################################## # Description # Useful to include HTML documents within other HTML documents ########################################################################## PN=`basename "$0"` # Program name VER='1.2' # Useful to include HTML documents within other HTML documents sed -e 's/&/\&/g' \ -e 's//\>/g' \ -e 's/ä/\ä/g' \ -e 's/ö/\ö/g' \ -e 's/ü/\ü/g' \ -e 's/ß/\ß/g' \ -e 's/Ä/\Ä/g' \ -e 's/Ö/\Ö/g' \ -e 's/Ü/\Ü/g' \ "$@"