On Thursday, 18 December 2014 at 09:18:36 UTC, Colin wrote:
I don't think it's my editor adding chars to the end of the file, as I'm using vi.

:-) vim actually does it by default. Check out ":help eol" from inside it.

I think other vi clones do it too but I'm not sure, but I know vim has it as documented behavior.

There's apparently a few reasons for it:
http://stackoverflow.com/questions/729692/why-should-files-end-with-a-newline

Reply via email to