From: Dave Burt Date: 2004-12-08T17:07:30+09:00 Subject: Re: Ruby 2.0 "trans. (T. Onoma)" wrote: > On Wednesday 08 December 2004 12:52 am, Oliver Cromm wrote: > | ruby -le'a=[];10.times{|n|a<<1;print" "*(9-n)*3,"%6d"*(n+1)%a > | n.downto(1){|i|a[i]+=a[i-1]}}' > > Amazing. Is any one making a collection of these? Check the thread [SOT]Signatures and one liners for more sigs. And there's a duck one floating around, too. Cheers, Dave i=1;loop{w=i&1==1?'v^':'^v';$><<"\e[2J\e[0;0H#{ ' '*10}_\n #{i&1==1?' '*7+'<':'Quack! >'}(*)____,\n#{ ' '*9}(` =~~/\n#{w*5}`---'#{w*4}";i+=sleep 1}