Useful Perl one-liners (2013)
My favorite perl one liner is a globbed search and replace. It even has it's own website: <a href="http://perlpie.com/" rel="nofollow">http://perlpie.com/</a><p><pre><code>     perl -p -i -e 's/foo/bar/gi' ./*.txt</code></pre>