comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@ada.eu.org>
To: aaro@iki.fi
Subject: Re: GNAT's Text_IO & empty files
Date: 1998/07/09
Date: 1998-07-09T00:00:00+00:00	[thread overview]
Message-ID: <m33ecbjp29.fsf@zaphod.enst.fr> (raw)
In-Reply-To: pdxk95ogpwl.fsf@vesuri.Helsinki.FI

Markus> In addition, it might be worth noting that it is common
Markus> practive under Unix that all text files end with a LF
Markus> character. Editors such as vi do not allow you to create a
Markus> file that does not end with LF.

Sam> Editors such as Emacs define this as a user-option, defaulting to
Sam> "don't add any extra LF", so I'm not sure we can call this
Sam> "common practice".

Aaro> Check the POSIX.2 definition of a text file. It says that lines
Aaro> terminate with LF, and a text file contains at least one line.

We were not talking about standards here, but about common practice :)

  Sam
-- 
Samuel Tardieu -- sam@ada.eu.org




  reply	other threads:[~1998-07-09  0:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-06  0:00 GNAT's Text_IO & empty files Gautier de Montmollin
1998-07-06  0:00 ` Robert Dewar
1998-07-07  0:00   ` Markus Kuhn
1998-07-07  0:00     ` Robert Dewar
1998-07-07  0:00     ` Michael F Brenner
1998-07-07  0:00   ` Markus Kuhn
1998-07-07  0:00     ` Samuel Tardieu
1998-07-08  0:00       ` Aaro Koskinen
1998-07-09  0:00         ` Samuel Tardieu [this message]
1998-07-09  0:00         ` Gautier.DeMontmollin
1998-07-07  0:00     ` Gautier
1998-07-08  0:00     ` dennison
1998-07-07  0:00   ` Gautier
1998-07-07  0:00     ` Robert I. Eachus
1998-07-07  0:00     ` Robert Dewar
1998-07-06  0:00 ` Pascal MALAISE
1998-07-07  0:00   ` Kevin Radke
1998-07-07  0:00   ` Gautier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox