I'm not sure what didn't help you in the link you provided, but `sed` seems like the right tool for this. It supports regular expression replacements, and if you pass it `-i` it will change files in-place:
$ sed -i 's/@author Olivier Pons/&
(The `&` in the replacement is a shorthand that means "include the entire match")