Internet protocols use CRLF for new line, as do several PC OS's, *IX use LF.
What OS are you running sed in? -- 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 10:58 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: File transfer question External Message: Use Caution On Tue, 21 Jan 2025 09:35:12 -0500, Rick Troth wrote: > >As I said privately to the OP, there are really only two options when >transferring files between mainframe op sys (MVS, VM, VSE, TPF) and PC >(Windoze, Mac, Linux): binary and plain text. Anything else really needs >to be considered a special case. "text" should be ASCII (or a variant*) >with CR/LF, "binary" means no translation and no record interpolation. > What's the <CR> for" It annoys "sed". -- 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