I have around 60 php files that are generated by a code generator, and after each requirement modification the files need to be changed (replace text, file rename). Can you recommend a Windows tool that can save the changes I need to make and automatically do them each time the source files are changed?

link|improve this question
A simply python script might work for that...what are the exact requirements? – Bobby Aug 10 '10 at 9:22
The changes are usually text replacement for elements of code (layout, method calls) but there are many things that are done over and over again – Rox Aug 10 '10 at 9:45
feedback

1 Answer

up vote 0 down vote accepted

I suggest using sed.

It allows you to create change/substitution lists in a file, then run those changes against the files you are working on.

There is a small learning curve, but within 15/20 minutes you should be making progress.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.