On Sun, 27 Jun 2021 22:52:26 +0000, Seymour J Metz wrote: > ... >They originally wrote Unix for ASCII, which doesn't have a new line character. >Unix, and C, used a line feed as a logical new line, but I don't know what The >Open Group or IEEE say about that. OMVS uses an EBCDIC NL character for the >purpose. Linux uses an ASCII LF, even Linux on z. > Alas, while iconv on Linux maps: IBM-104 ISO8859-1 LF <-> LF NL <-> NEL (the only code points with no precise eequivalence) ... which seems logical.
iconv on z/OS UNIX System services maps: LF <-> NEL NL <-> LFL ... with only an apologia in various parentheses and footnotes. Those are insufficient to save programmers who expect to rely on consistency between OSes. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN