D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Mass editing text files?

 

On Thursday 26 July 2007 20:43, Jonathan Roberts wrote:
> Hi all,
>
> I have a load of HTML files and I want to add the same text to the
> <head> section of all of them: is there any way I can add it
> automatically?! sed perhaps?
>
> Best wishes,
>
> Jon

I've been having a look and found a very primitive HTML::DOM for perl but at 
version 0.04!
Theres a PyKHTML for python.
And there is of course Gecko or even the IE embedable OCX....
Or alternatively you can do it in Javascript with some CGI support...
Hows your programming?
Tom te tom te tom


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html