in reply to What one-liners do people actually use?
Here is one i used today:
I needed to change some .mas extensions to .html extensions.perl -le'for (<*.mas>) {$o=$_;s/mas$/html/; rename $o,$_ }'
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Seekers of Perl Wisdom