[plug] Perl script ?

Bernard Blackham bernard at blackham.com.au
Mon Oct 31 21:55:48 WST 2005


On Mon, Oct 31, 2005 at 07:15:07PM +0800, Timothy White wrote:
> > Best I had was:
> >         perl -e 'foreach(<*>){rename$_,lc}'
> 
> You did pretty well. I think in perl, you may have won. Unfortunately,
> when you have a C program to compete against, it's src .vs. binary...

I can go one byte better actually.

	perl -e 'rename$_,lc foreach(<*>)'

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>



More information about the plug mailing list