[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: trailing blank line in a text file
- From: Matthew Saltzman <mjs ces clemson edu>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: trailing blank line in a text file
- Date: Tue, 20 Jul 2004 20:09:04 -0400 (EDT)
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]