Dear all,
I needed a full version of unzip, not just the small one that is included in busybox.
Before uncompressing the files, I test the zip file for potential errors.
If it reports no testing errors, I go to step 2, uncompressing.
Here's where I get a couple of surprises: On the one hand, unzip does a wonderful job extracting the files with its proper linux path separator ("/"). Great! On the other, the exit code is (not so surprising) 1: it warns the user about the zip file using backslashes instead of the proper separator.
My problem is that, unzip seems to issue exit code 1 when finding those backslashes. According to info-zip.org details on this subject, this exit code is also issued when there are files in the zip unzip skipped due to "unsupported compression method or encryption with an unknown password".
I tried to wander unzip man pages and help info, looking for a method to convince it those backslashes are welcome (even if they need to be translated to forward slash). No luck!
Any hint?