The Great Newline Schism

I wonder what POSIX has to say about this?

I did a quick “newline or linefeed” search into the word query, but nothing came up for me, execpt various names of header files.

Is this behavior defined anywhere as being a UNIX platform standard?