Skip to Content.
Sympa Menu

internetworkers - Re: Getting rid of extra font tags?

internetworkers AT lists.ibiblio.org

Subject: Internetworkers: http://www.ibiblio.org/internetworkers/

List archive

Chronological Thread  
  • From: Scott Russell <scottrus AT ipass.net>
  • To: InterNetWorkers <internetworkers AT franklin.oit.unc.edu>
  • Subject: Re: Getting rid of extra font tags?
  • Date: Tue, 29 May 2001 11:15:27 -0400


From the Linux command line try:

sed 's/<font *[^>]*>//gI;s|</font>||gI' infile.html > outfile.html

Works for me

-- Scott

On Tue, May 29, 2001 at 09:57:40AM -0400, Michael S Czeiszperger wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi--
>
> The first person to put up my site used an HTML editor that put font tags
> around *everything* even though the same font was used almost everywhere.
> This is making editing the site a bear, especially when editing the raw
> HTML.
>
> Does anyone have any suggestions for cleaning up this HTML-mess, other than
> editing every page by hand?
>
> Thanks,
>
> - --
> Michael S Czeiszperger
> czei AT webperformanceinc.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.8
>
> iQA/AwUBOxOq1FgOl/a4Fw2AEQL5OACgtJknf7dKVmymGIW7Wvm5pLqo8pcAn0rW
> j7ep9aUELFGDN/H6SRDPguz3
> =kPaX
> -----END PGP SIGNATURE-----
>
> ---
> Come and play at the InterNetWorkers Web site!
> http://www.ibiblio.org/internetworkers/
> You are currently subscribed to internetworkers as: scottrus AT ipass.net
> To unsubscribe send a blank email to $subst('Email.Unsub')

--
Scott




Archive powered by MHonArc 2.6.24.

Top of Page