When I open a text file in Notepad, it shows a blank line if there is a carriage return at the end of the last line containing text. However, in Vim it does not show this blank
:help endofline
explains how you could stop vim from adding an extra newline.