Advertisement
msd_lab

Untitled

Nov 8th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for file in $(find . -name "*.js")
  2.     do
  3.         echo "Replacing in $file"
  4.         sed -r "s#document\.write\('\<iframe.*?\>.*?\<\/iframe\>'\);##g" $file > $file.tmp
  5.  
  6.         mv $file.tmp $file
  7.         echo "... done"
  8. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement