Bug: unzip does not recognize --
"option"
#1378
Labels
medium severity
Used to report medium severity bugs (e.g. Malfunctioning Features but still useable)
--
"option"
#1378
Contact Details
[email protected]
What happened?
I'm not sure this is a bug in cosmo
unzip
, but it breaks the vim zip browsing plugin.What I see with cosmo
unzip
(UnZip 6.10b BETA of 10 Dec 10
):What I see with macos stock
unzip
(UnZip 6.00 of 20 April 2009
):(The example zip file created with
touch file1 file2 && zip my.zip file1 file2
)Frankly, I'm not sure this is a bug as I don't see
--
documented in the the stockunzip
manpage. Also, I'm not sure exactly what it is expected to do… based on my testing it seems to ignore only the next valid flag. 🤷Anyway, the reason I ran into this is that it breaks the vim zip plugin which complains that:
and then does a binary display.
When run without cosmo
unzip
on the PATHvim my.zip
works correctly and displays a listing of the zipfile contents.FYI one of the offending lines in the vim plugin (
usr/share/vim/vim90/autoload/zip.vim
in cosmo vim zipfile) is:(But see https://github.com/vim/vim/blob/fb792374cf7ed1a965b57ca0071e67d07a613d6b/runtime/autoload/zip.vim#L141 for latest?)
I'm not sure what is the “right“ resolution. Is it a cosmo
unzip
peculiarity, or is it an upstream 6.10b BETA change that breaks zip.vim unrelated to cosmo? If so then sorry for filing a report here, but maybe consider providing stable (not BETA)unzip
at https://cosmo.zip/pub/cosmos/bin/ ?Version
What operating system are you seeing the problem on?
Mac
Relevant log output
The text was updated successfully, but these errors were encountered: