#! /bin/sed -f

s/&/\&/g
s/</\&lt;/g
s/>/\&gt;/g

1 i\
<head>\
<title>\
Converted with txt2html.sed\
</title>\
</head>\
<body>\
<pre>

$ a\
</pre>\
</body>\
</html>

### colorized by sedsed, a SED script debugger/indenter/tokenizer/HTMLizer
### original script: http://sed.sf.net/grabbag/scripts/txt2html.sed