Subject: Re: Newbie with a project.(Parse tabed file and gen statistics?)
From: Paul Lutus <nospam nosite.zzz>
Date: Tue, 12 Dec 2006 08:25:14 +0900
References: 229161 * 229172229182
William James wrote:
/ ...
> p IO.readlines('junk').map{|s| s.chomp.split("\t")}.sort_by{|a|
> a[4].to_i}
Where's my caddy? :)
One of my goals was that the OP would understand my code at a glance.
--
Paul Lutus
http://www.arachnoid.com