Perl Search & Replace

Uncategorized No Comments »

Im forever forgetting this one liner to search and replace text using perl, I can’t be the only one!

Here it is: perl -p -i -e ’s/oldstring/newstring/g’ filename

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in