From: Tim Greer Date: 2008-12-22T03:56:42+09:00 Subject: Re: Using ruby hash on array Stuart Clarke wrote: > count.each do |a, cnt| > printf "%20s %6d\n", a, cnt > end > > > I have no idea what the %20s ...... is doing. It's just formatting/padding. It will right adjust the output on the column 20 chars over. -- Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc. Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers and Custom Hosting. 24/7 support, 30 day guarantee, secure servers. Industry's most experienced staff! -- Web Hosting With Muscle!