[Zope] FIND AND REPLACE

Grant K Rauscher Grant K Rauscher <grant7@sbcglobal.net>
Mon, 01 Apr 2002 17:16:30 -0800


>> I have to change on more than 700 dtml pages the syntax
>> of a link.
>>
>> There's any automatic way on ZOPE to find and replace
>> those parts of code ?
>
> If you need simple string substitution, you could use the
> following Python script:

    although I haven't tried them, there's a patch for search/replace
support as a tab in the ZOPE Management Interface for folders
(by the same author) :

http://www.zope.org/Members/cguardia/replace/

    it has also been productized :

http://www.zope.org/Members/shh/ReplaceSupport

    no joke!   ;-)

                                            Grant K Rauscher
                                            GeeKieR Enterprises
                                            http://www.geekier.com/