Post #2535084
2026-01-09 07:36 UTC
@nblr@chaos.social @0xabad1dea@infosec.exchange POSIX standard says that a Text File is made up of 0 or more Lines, and a Line is a sequence of zero or more characters terminated with a newline character. https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html
So this is true of many tools, and it’s why many tools such as GitHub warn you when a file is missing its last newline.
And yet I still find projects and even whole engineering organizations that standardize on “no terminating newline”.
Replies (0)
No replies.