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