From: aaro@iki.fi (Aaro Koskinen)
Subject: Re: GNAT's Text_IO & empty files
Date: 1998/07/08
Date: 1998-07-08T00:00:00+00:00 [thread overview]
Message-ID: <pdxk95ogpwl.fsf@vesuri.Helsinki.FI> (raw)
In-Reply-To: m3af6lpxho.fsf@zaphod.enst.fr
Samuel Tardieu <sam@ada.eu.org> writes:
> >>>>> "Markus" == Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> writes:
>
> 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.
>
> Editors such as Emacs define this as a user-option, defaulting to
> "don't add any extra LF", so I'm not sure we can call this "common practice".
Check the POSIX.2 definition of a text file. It says that lines
terminate with LF, and a text file contains at least one line.
--
Aaro Koskinen, aaro@iki.fi, http://www.iki.fi/aaro
next prev parent reply other threads:[~1998-07-08 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 ` Pascal MALAISE
1998-07-07 0:00 ` Gautier
1998-07-07 0:00 ` Kevin Radke
1998-07-06 0:00 ` Robert Dewar
1998-07-07 0:00 ` Markus Kuhn
1998-07-07 0:00 ` Samuel Tardieu
1998-07-08 0:00 ` Aaro Koskinen [this message]
1998-07-09 0:00 ` Gautier.DeMontmollin
1998-07-09 0:00 ` Samuel Tardieu
1998-07-07 0:00 ` Gautier
1998-07-08 0:00 ` dennison
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 ` Gautier
1998-07-07 0:00 ` Robert Dewar
1998-07-07 0:00 ` Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox