cgitsb/filters/html-converters/txt2html

5 lines
114 B
Bash
Executable File

#!/bin/sh
echo "<pre>"
sed "s|&|\\&amp;|g;s|'|\\&apos;|g;s|\"|\\&quot;|g;s|<|\\&lt;|g;s|>|\\&gt;|g"
echo "</pre>"