# ls /usr/bin/unzip lrwxr-xr-x 1 root wheel 8B Sep 28 14:08 /usr/bin/unzip@ -> bsdunzip # /usr/bin/bsdunzip - Usage: unzip [-aCcfjLlnopqtuvyZ1] [{-O|-I} encoding] [-d dir] [-x pattern] [-P password] zipfile [member ...] My script broken after upgrading to 13.3, because /usr/bin/unzip was replaced by link to bsdunzip man page of bsdunzip says: "If specified filename is "-", then data is read from stdin.", but it is broken.
Looks like we switched to libarchive's version in commit b5a3a89c50671a1ad29e7c43fe15e7b16feac239. bsdunzip.c appears to have handling for "-" but it's broken indeed. Martin, could you take a look?
still no fix?
The problem looks related to libarchive's option parser. `bsdunzip -- -` works as expected, I believe, so that's a workaround.