You can do this with perl in a handfull of lines. You can also use sed
commands and place them in a bash script. (Actually countless ways to do
this, but I do not know of any pre-built scripts available)

Perl would probably be the easiest and most useful (and you could easily
tweak the script once written to perform other text processing tasks as
well)

CC

-----Original Message-----
From: Craig Kattner <[EMAIL PROTECTED]>
To: RedHat List <[EMAIL PROTECTED]>
Date: Thursday, April 16, 1998 4:03 PM
Subject: directory recursing script needed


>Specifically, I have large directory structure of html and need to make
>some changes to the whole works in respects of colors and fonts. I am not
>sure how I can go about making these changes in mass, but was thinking
>that there's a simple script out there somewhere that can change all
>instances of say BGCOLOR="#000000" to BGCOLOR="#FFFFFF" etc, etc. Any
>ideas?
>
>
>--
>  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>         To unsubscribe: mail [EMAIL PROTECTED] with
>                       "unsubscribe" as the Subject.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to