Hi
I’m wondering if anyone knows a quick and powerful way of editing text in multiple files at once according to a pattern. Currently, I’m working with several javascript and xml files all referencing each other in order to play an animation. Everytime I add a new animation, it is neccessary to add lines according to a simple pattern at certain points in multiple files. What is the best way of doing this?
Eg.
I’m thinking of typing something like:
edit.bat 3 4
In order to add the lines (note [arg2] is 4 to create 4 instances of F[arg1]T* according to pattern):
<include href="/ArtSpec/A3.lzx"/>
<include href="/Text/F3T0.lzx"/>
<include href="/Text/F3T1.lzx"/>
<include href="/Text/F3T2.lzx"/>
<include href="/Text/F3T3.lzx"/>
In one file and similar operations in other files.
Anyone got any ideas?
Koba