Fixes CRLF, but also uses a wired-in translation table. The point of using -b is to do your own translation, but that means no CRLF conversion.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Thursday, March 23, 2023 5:00 PM To: [email protected] Subject: Re: Unzip on z/OS ? On Thu, 23 Mar 2023 20:41:40 +0000, Seymour J Metz wrote: >Why use unzip -a if the data are anything but ASCII? use unzip and a separate >iconv. You might need another step to deal with line endings; I don't recall. > unzip -a also fixes CRLF. z/OS pax also does code page conversion. (But not related FILEDATA changes. WAD.) In one case I did three passes of "pax -r" with different filename templates. -- 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
