I\'ve successfully used the following sed command to search/replace text in Linux:
sed
sed -i \'s/old_link/new_link/g\' *
However,
sed -ie 's/old_link/new_link/g' *
Works on both BSD & Linux with gnu sed