Hello --

On Sat, 21 Jul 2001, Avi Bryant wrote:

> Here's an incremental squeezing of an earlier solution, I think by Steven
> Grady, down to 164 (or has someone already done that?):
>
> def b(n)"#{n>0?n: 'No more'} bottle#{'s'if n!=1} of beer"end
> 99.downto(1){|n|w=" on the wall";puts "#{b(n)+w}, #{b n}\nTake one down, pass it around\n#{b(n-1)+w}."}
>

(Hmmm... not sure why it's wrapping weirdly.  Anyway...)

You could get a few more bytes out: {:s if n>1} and no space after
puts.

But this version skimps on punctuation, so you might have to put a few
more in :-) (We never did specify a canonical output.)


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav