http://www.perlmonks.org?node_id=232522


in reply to My Conclusions (Re: The problem with one-liners)
in thread The problem with one-liners...

$ grep '^ *perl' .bash_history C:\> perl -lne"/^\s*perl/&&print" history.txt

Makeshifts last the longest.