On Tue, 2007-12-18 at 17:05 +1100, Lindsay Holmwood wrote:
> On Dec 18, 2007 4:35 PM, Martin Visser <[EMAIL PROTECTED]> 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

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to