[Gllug] Batch Text Replacement
Henry Gilbert
henry.gilbert at gmail.com
Mon Oct 29 08:04:28 UTC 2007
Hi John,
thanks for your attention
> On 29/10/2007, John Hearns <john.hearns at streamline-computing.com> wrote:
> Errr... just mount the remote data via NFS or Samba.
> You can VPN tunnel NFS if you have to.
>
Not my server and not even a dedicated server.
I am probably confined to only FTP.
> Do your sed/awk/Perl on the mounted drive
>
Will need to recap on regex though :/
> > Just need to know what easy app can perform such feat - pretty easily.
> sed/awk/Perl
>
I was really looking for something more GUI
I looked around here and found a utility called KFileReplace
Still not that good though, it can't perform substitutions remotely,
and it's kinda clumsy
Wished we could have just: Select Folder > Enter String > Enter
Replacement-String > then Click OK.
>
>
> I guess you are wanting to be all Web Services, SOAP, Web 2.0.
No Soap here.
haven't touched such things since my Visual Studio days.
Quick question then:
What would be the regex (or even the "sed" command) that would strip
any occurrence of the string ' style="blah blah blah' from a group of
html files?
ie
<span style="font-size:11.0pt;mso-bidi-font-size:10.0pt">
becomes
<span>
that would help me loads.
As I have the not very exciting task of having to clean up / tidy up :
40 pages of seriously messy FrontPage code.
all the best
HG
--
SEO Mastery
http://www.alliancetec.com
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list