close 166861
close 1138870
thanks

On Fri, Jun 05, 2026 at 08:32:06AM +0800, Dan Jacobson wrote:
> Package: zip
> 
> man page says
> 
>        For a brief help on zip and unzip, run each without specifying any 
> para‐
>        meters on the command line.
> Yes,
> $ zip
> 
> But the moment the user tries things like
> $ zip | more
> thinks go awry.

Thanks for the report, but this is a duplicate of #166861, reported by you,
and it's still documented behaviour. This is from the manpage:

      When no zip file name is given and stdout is not a terminal, zip
      acts as a filter, compressing standard input to standard
      output. For example,

              tar cf - . | zip | dd of=/dev/nrst0 obs=16k

      is equivalent to

              tar cf - . | zip - - | dd of=/dev/nrst0 obs=16k

This is unlikely to be changed, because it could break existing
scripts relying on such behavior.

If you need a short list of available options, please do this instead:

zip -h | more

Note: I'm also closing the duplicate bug. While I could agree in a
generic sense that Debian can modify documentation, this particular
item, in my opinion, does not reach the threshold for doing so.

However, I'm Cc:ing Paul Marquess, from the info-zip team, in case
they want to modify documentation for the next version.

Thanks.

Reply via email to