From: Brian Adkins Date: 2007-03-03T12:40:04+09:00 Subject: Re: Smallest FizzBuzz program Mat Schaffer wrote: > > On Mar 2, 2007, at 4:50 PM, Brian Adkins wrote: >> Interesting. For me, vim shows 56 bytes of actual code, but ls shows 57 >> bytes, so I assumed that included an EOF character. There is no newline >> in my file. > > You sure? If you do File.read(filename) in irb is there a \n at the end? > -Mat > My bad - dude, you're a genius. Little did I know that Vim was sneaking in an extra newline on me :( So it's official, we're tied for 1st now - checkout comp.lang.ruby on: http://golf.shinh.org/p.rb?FizzBuzz I don't think I'll ever do a golf challenge again - what a time sync!