Should D file end with newline?
sarn
sarn at theartofmachinery.com
Sat Feb 9 22:23:45 UTC 2019
On Saturday, 9 February 2019 at 21:19:27 UTC, Victor Porton wrote:
> ISO C++ specifies that the C++ file must end with a newline.
>
> Should D file end with newline, too?
I'm sure you could mostly get away without one, but POSIX says
that all text files should end with a newline. There are some
POSIX tools that don't work properly without the final newline.
More information about the Digitalmars-d-learn
mailing list