How do I replace foo. with foo_ with sed simply running
foo.
foo_
sed 's/foo./foo_/g' file.php
doesn't work.