[email protected] (Dale Dougherty) wrote:
> The simplest approach is a sed script that removes HTML tags,
> that is, anything between a pair of angle brackets.
> s/<.[^>]*>//g
Yip.. but that does not always work.. e.g. you can have brackets commented
out with "<!--", or inside a <LISTING> foo </LISTING>. Some of us
out here (and that includes me, I'm working on an indexing tool) need
to strip out HTML commands. Ari Loutonen from CERN has proposed using
the command line browser for this purpose, but something smaller would
be preferable...
Does something like this exist?
Cheers, Chris