[AMES@AQTS ~]$ set|egrep '(ENCODE|BPX)'
_BPXK_AUTOCVT=ON
_BPX_SHAREAS=YES
[AMES@AQTS ~]$ rm -rf x test.zip; mkdir x; touch x/y; zip test.zip x/; ls -lT test.zip
adding: x/ (stored 0%)
t ISO8859-1 T=on -rw------- 1 AMES DEFLT1 170 Jun 4 11:56 test.zip
This breaks legacy unzip/zipinfo:
[AMES@AQTS ~]$ /usr/bin/zipinfo test.zip
[test.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
zipinfo: cannot find zipfile directory in one of test.zip or
test.zip.zip, and cannot find test.zip.ZIP, period.
[AMES@AQTS ~]$ env _BPXK_AUTOCVT=OFF /usr/bin/zipinfo test.zip
Archive: test.zip 170 bytes 1 file
?rwx------ 3.0 unx 0 bx stor 4-Jun-24 11:56 x/
1 file, 0 bytes uncompressed, 0 bytes compressed: 0.0%
[AMES@AQTS ~]$ /usr/bin/unzip.old test.zip
Archive: test.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of test.zip or
test.zip.zip, and cannot find test.zip.ZIP, period.
[AMES@AQTS ~]$ env _BPXK_AUTOCVT=OFF /usr/bin/unzip.old test.zip
Archive: test.zip
Should't they be binary?
This breaks legacy unzip/zipinfo: