From: Niklas Frykholm Date: 2001-11-21T08:10:43+09:00 Subject: [ruby-talk:25958] Re: Why the appended '\n' in IO.readlines [Josh Huber] > This is because a lot of unix utilities expect a newline at the end of > a text file. Well, I don't know if this is still the case, but it was > :) > > I usually set require-final-newline to t in emacs because of this. I > don't see an option in vi(m) for this however... To get rid of the final newline you have to do :set noeol binary before writing the file. You would think that it would be enough to set one of these options, but apparantly not. // Niklas