Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Tuesday afternoon shell command optimisation party!


On Tue, 2007-12-18 at 17:05 +1100, Lindsay Holmwood wrote:
> On Dec 18, 2007 4:35 PM, Martin Visser <martinvisser99@xxxxxxxxx> wrote:
> >  perl -e 'while(<>){$a+=s/[,]//g};print "$a\n"' <input.txt
> >
> 
> Ruby version:

I've got a sixpack of beer for a working PostScript variant. :-)

-- 
Pete