Does sed -i work on AIX?
sed -i
If not, how can I edit a file \"in place\" on AIX?
Another option is to use good old ed, like this:
ed fileToModify <