Re: trailing blank line in a text file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 20 Jul 2004, Alex White wrote:

> > Can anybody tell me what is going on? Why do I get the trailing blank line.
> >
> > Thank you.
> >
> > Olga
>
> What are you using to edit the files in question? I know that
> in FC2 and I think FC1, emacs asks you when you edit a file if
> you want a blank line inserted at the end. Could this be what
           ^^^^^^^^^^^^^^^^^^^^^
> you're seeing?

Not a blank line, a linefeed at the end of the last line.  vi, on the
other hand, always ends lines with a linefeed.  Some programs that read a
line at a time will break if the last line does not end with a linefeed.

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux