On David Alan Black, you wrote: > Hello -- > > On Sat, 21 Jul 2001, Glen Starchman wrote: > > 99.downto(0){|x|w=" on the wall";u="#{x!=0?eval(x.to_s):'no more'} > > #{x>1?'bottles':'bottle'} of beer";p"#{u}#{w} #{u}. Take one down, > > pass it around,#{u}#{w}"} > > > > > > 159 characters... can it be squeezed down any further? > > The problem is: > > "8\nbottles of beer on the wall 8\nbottles of beer. Take one down, > pass\nit around,8\nbottles of beer on the wall" "7\nbottles of beer > on the wall 7\nbottles of beer. Take one down, pass\nit > around,7\nbottles of beer on the wall" > > One could debate the acceptability of the "\n"'s. But it's not > decrementing the number in the right place. Doh! That's what I get for preferring bourbon to beer... I forgot how the song goes. :-)