Not naive at all; it allowed overprinting. That's true even when the target device doesn't implement those functions; the device driver deals with it.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Tuesday, January 21, 2025 11:31 AM To: [email protected] Subject: Re: File transfer question External Message: Use Caution On Tue, 21 Jan 2025 16:04:45 +0000, Seymour J Metz wrote: >Internet protocols use CRLF for new line, as do several PC OS's, *IX use LF. > "veral PC OS's" are getting better. I discovered lately that Notepad works without the <CR>. <CRLF> was the naive design practice of conflating device protocols with data representation, akin to Machine Carriage Control used by Assembler H. COBOL Did the Right Thing with "AFTER ADVANCING." >What OS are you running sed in? > Mac, Linux, OMVS. The "$" operator gets confused by the <CR>. (Classic Mac OS used "the big key at the right of the home row". Another device convention.) -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
