Package: gzip
Version: 1.3.5-15
Severity: normal

As already noted in Bug #407278, zless does not work on pipes when called
without arguments. However, this is not the whole story: zless actually
does not work on anything except regular files:

        zless -                 --> fails to decompress
        zless /dev/stdin        --> "not a regular file, use -f" (OK)
        zless -f /dev/stdin     --> fails to decompress
        zless -f /tmp/named-fifo --> fails to decompress

This is rather annoying and also incompatible with other Linux distributions,
including previous releases of Debian (zless on pipes used to work in Woody),
so I believe that it really should be fixed.

I agree with the maintainer reasoning in #407278 that zless should be as close
in its usage to zless as possible, but it should not be at the expense of
breaking special cases.

A proper fix is probably to teach less to call LESSOPEN even for non-regular
files (maybe only when given a special option).

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.23.9
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)

Versions of packages gzip depends on:
ii  debianutils            2.17              Miscellaneous utilities specific t
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries

gzip recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to