[wellylug] How to I strip HTML tags via the cmd line?

Damon Lynch damon at dev-zone.org
Thu Jun 20 17:43:55 NZST 2002


I could write a python script too... but surely there is already
something out there :-)

Damon 

On Thu, 2002-06-20 at 18:48, Glen Ogilvie wrote: I'd be looking at sed
for an answer..  it will be a regular expression.

another option would be to write a small perl program to do it for you. 
I've 
got one that does find and replace, and could do something like...

find < then the next > and delete that tag.  Not sure if this is
perfect, as 
it will miss things like &nbsp;

Cheers
Glen

On Thu, 20 Jun 2002 17:00, Damon Lynch wrote:
> I'm sure there's a way, but what is it? :-)
>
> Thanks,
> Damon

  .-.   Wellington
  /V\   Linux
// \\  Users       
/(   )\ Group
^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

-- 
Damon Lynch
Dev-Zone Program Officer
http://www.dev-zone.org     Jabber Messaging: damonlynch at jabber.com
Tel: +64 4 496 9597         Yahoo Messaging:  damonlynch at yahoo.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free $5 Love Reading
Risk Free!
http://us.click.yahoo.com/3PCXaC/PfREAA/Ey.GAA/0XFolB/TM
---------------------------------------------------------------------~->

  .-.   Wellington
  /V\   Linux
 // \\  Users       
/(   )\ Group
 ^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
  

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the wellylug mailing list