OT maybe: Looking for a tool or . . .?

Patton Echols p.echols at comcast.net
Tue Feb 20 02:17:15 UTC 2007


On 02/19/2007 04:58 PM, Michael Gustafson wrote:
> Try running this command: sed -e 's#<[^>]*>##g'  oldfile > newfile
>
> This will strip all the html tags out.
Ok, I'm not just trying to Strip the HTML, for the "bolded" text I need 
to strip the stuff between the on and off tags. For the ital, just strip 
the tags.

I have not tried to puzzle through the "man sed"  is there a better 
place than that to learn the syntax?

Thanks
Patton




More information about the ubuntu-users mailing list