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

Glen Ogilvie nelg at linuxsolutions.co.nz
Thu Jun 20 18:48:16 NZST 2002


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

------------------------ 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