On Thu, Mar 08, 2001 at 11:21:20AM -0500, Todd Olson wrote:
>
> My question was entirely focused on the interaction between HTML
> and *command* processors that expect plain text. I was not concerned
> about postings to the list it self.
>
> Perhaps there is a way to reliably strip the HTML to the command processor.
This is probably as simple as:
sed -e '/^$/,$ {' \
-e 's/<[^>]*>//g' \
-e 's/"/"/g' \
-e 's/</</g' \
-e 's/>/>/g' \
-e 's/&/&/g' \
-e '}'
which does not exactly conform 100% to the HTML DTD, but is likely to
be sufficient for almost every message to the command processor.
--
Regards,
Tim Pierce
RootsWeb.com lead system admonsterator
and Chief Hacking Officer