I'm not sure I follow... I do advanced s/r's on multiple files all the time. Some simple shell scripting allows me to cycle through the files, rename for backup or put the new versions in a separate directory, etc. Something like the following:
mkdir newstuff
for a in *.php
do
sed 'some replacement string here' < $a > newstuff/$a
done
Or am I still missing your point?
