|
From: SourceForge.net <no...@so...> - 2005-01-20 11:18:04
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=2949257 By: keithmarshall Absolute rubbish! If you use vi (or vim) as your editor, you don't need to see the cursor in a blank line at the end of your file; when you write the file out from vi, (assuming you haven't set binary file mode, in vim), you are guaranteed that the last visible line of text will be properly terminated by a newline -- you don't need to see a blank line at EOF, (indeed, that would mean that you really *do* have an extra blank line in the file. Whether or not that line contains additional white space is completely irrelevant; if such a line is truly empty, then your file would end with *two* newline codes, which may be CRLF or just LF, depending on your choice between DOS and UNIX file formats). Of course, other editors may not be as civilised as vi/vim, in this respect :) ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=7134 |