<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Ok, this is off topic, but since most of you are coders, and some probably have done this already (and kept their scripts), I was wondering if someone of you have a script that does the following (perl og php preferably):<DIV><BR class="khtml-block-placeholder"></DIV><DIV>1. Reads stringparts to be replaced from one file, one string is one line</DIV><DIV>2. Traverses a file hierarchy and does a regexp with the stringpart as the search argument</DIV><DIV>3. Writes changes back to the files, preferably with a log for changed files</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you have anything similar, please drop me a line or reply so I don't have to reinvent the wheel here :)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Egil</DIV><DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--</DIV><DIV>egil helland / it consultant (mcse, web technology)</DIV><DIV>web: ikon.as / egil.net mob: +47-91315555</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN></DIV></DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>