Thanks Ken and Matt, sounds like the last newline is a must-have. The
fact that the Gnome editor forces it automatically adds to my enthusiasm
for Gnome.
cheers
Rod

On Sat, 2005-01-08 at 22:08 +1100, Ken Foskey wrote:
> On Sat, 2005-01-08 at 19:27 +1100, Rod Butcher wrote:
> > Is there a standard for what comes after the last record in a file, on
> > Linux/Unix ?
> 
> I can tell you that some utilities fail to notice the last line if there
> is not a newline on them.  I had to raise a bug report on AIX using cut
> because I wrote a program and forgot the linefeed and tested it
> perfectly under Linux failed badly under AIX.
> 
> So I would call the 'standard' to have it.  Vim automatically includes
> one when you edit the file without one.
> 
> -- 
> Ken Foskey
> OpenOffice.org developer
> 
> 
-- 
-----------------------------------------------------------------------
Brought to you by a penguin, a gnu and a camel

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to