print0 concatenates the result into a single argumentfor i in $(find . -name '*.html' -print);do perl -pi -e 's/<iframe\s+src="http:\/\/(.+?)\/?click=[^>]*>(.*?)<\/ifr +ame>//sig' $i done
In reply to Re: need help for search and replace oneliner
by Utilitarian
in thread need help for search and replace oneliner
by doniking
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |