From: ara howard Date: 2008-03-26T08:50:34+09:00 Subject: Re: golf: tabs to bullets On Mar 25, 2008, at 5:22 PM, David A. Black wrote: > I'm seeing it differently; I see Martin's like this: oh yeah - interesting. the fix: cfp2:~ > cat a.rb DATA.read.gsub(%r/(?:\t\ ?)+/){|s|' '*(n=s.count("\t")-1)+%w(* - o x) [n]+' '}.display __END__ foo bar baz hello world cfp2:~ > ruby a.rb foo * bar - baz o hello - world a @ http://codeforpeople.com/ -- it is not enough to be compassionate. you must act. h.h. the 14th dalai lama