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)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: What one-liners do people actually use?
by b10m (Vicar) on Dec 08, 2005 at 19:34 UTC | |
by jeffa (Bishop) on Dec 08, 2005 at 19:40 UTC | |
by Tanktalus (Canon) on Dec 08, 2005 at 19:44 UTC | |
by Gilimanjaro (Hermit) on Dec 09, 2005 at 09:35 UTC | |
by b10m (Vicar) on Dec 09, 2005 at 11:37 UTC | |
Re^2: What one-liners do people actually use?
by ikegami (Patriarch) on Dec 08, 2005 at 20:32 UTC | |
by Kanji (Parson) on Dec 08, 2005 at 20:37 UTC | |
by ikegami (Patriarch) on Dec 08, 2005 at 20:38 UTC |
In Section
Seekers of Perl Wisdom