On Thu, 28 Jul 2005, Matthew Vernon wrote:
> Hi,
>
> > This is the reply from the author, so I'm closing this bug.
>
>
>
> Might it at least be worth documenting this somewhat bizarre behaviour? users
> might reasonably be running a shell script with set -e or similar, and be
> suprised if they make an error and the script doesn't exit.
I don't think that would happen easily. As unzip does not support any
long options, it is unlikely that you write a shell script that tries
to use a "long option".
Moreover, the manpage explains that two hyphens have a special meaning:
Environment options are, in effect, considered to be just like any
other command-line options, except that they are effectively the first
options on the command line. To override an environment option, one
may use the ``minus operator'' to remove it. For instance, to override
one of the quiet-flags in the example above, use the command
unzip --q[other options] zipfile
The first hyphen is the normal switch character, and the second is a
minus sign, acting on the q option. Thus the effect here is to cancel
one quantum of quietness. [...]
So yes, the meaning of two hyphens is documented.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]