in reply to Re: Replacing text in many files, including binaries
in thread Replacing text in many files, including binaries

 s/ sed -i / perl -pi /

(approximately. the regex will have to be converted to perl as well.)