![]()
Linux, Unix, /etc/$ To set up this Linux system, do I really have to type long,
cryptic, frequently inconsistent and undocumented commands with
occasional long strings of hex digits?
# Yeah. You got a problem with that?
|
Sponsored links (requires javascript):
#!/bin/sed -f
# htmlize: convert special characters to html codes
# naïve: assumes no html codes already present!
s/&/\&/g
s/>/\>/g
s/</\</g
s/Á/\Á/g
s/á/\á/g
s/À/\À/g
s/à/\à/g
s/Â/\Â/g
s/Å/\Å/g
s/å/\å/g
s/Ã/\Ã/g
s/ã/\ã/g
s/â/\â/g
s/Ä/\Ä/g
s/ä/\ä/g
s/Æ/\Æ/g
s/æ/\æ/g
s/È/\È/g
s/É/\É/g
s/é/\é/g
s/è/\è/g
s/Ê/\Ê/g
s/ë/\ë/g
s/Ë/\Ë/g
s/ê/\ê/g
s/ï/\ï/g
s/Ð/\Ð/g
s/ð/\ð/g
s/Ñ/\Ñ/g
s/ñ/\ñ/g
s/õ/\õ/g
s/Ö/\Ö/g
s/Ç/\Ç/g
s/ö/\ö/g
s/ç/\ç/g
s/Ø/\Ø/g
s/ø/\ø/g
s/Ù/\Ù/g
s/ù/\ù/g
s/Ú/\Ú/g
s/ú/\ú/g
s/Û/\Û/g
s/û/\û/g
s/Ü/\Ü/g
s/Ì/\Ì/g
s/ü/\ü/g
s/ì/\ì/g
s/Ý/\Ý/g
s/Í/\Í/g
s/ý/\ý/g
s/í/\í/g
s/Þ/\Þ/g
s/Î/\Î/g
s/þ/\þ/g
s/î/\î/g
s/ß/\ß/g
s/Ï/\Ï/g
s/ÿ/\ÿ/g
s/Ò/\Ò/g
s/ò/\ò/g
s/Ó/\Ó/g
s/ó/\ó/g
s/Ô/\Ô/g
s/ô/\ô/g
s/Õ/\Õ/g
# Additional characters from ISO 8859-1
#  non-breaking space
s/±/\±/g
s/¡/\¡/g
s/²/\²/g
s/¢/\¢/g
s/³/\³/g
s/£/\£/g
s/´/\´/g
s/µ/\µ/g
s/¥/\¥/g
s/¶/\¶/g
s/¦/\¦/g
s/·/\·/g
s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