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 <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Paul Gilmartin <0000042bfe9c879d-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, January 21, 2025 11:31 AM To: IBM-MAIN@LISTSERV.UA.EDU 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN