It seems Im getting somethig wrong here, since I am not very keen with Shell scripting. Here is the code which I put togheter with this forum topic:
Code:
find . -type f | while read i
do
sed "s:<?php echo '<script language='JavaScript'>function e590206b977().*<\\\/script>'; ?>::" file > temp
if cmp temp "$y" >/dev/null
then
rm temp
else
mv temp "$y"
fi
done