Package: gzip Version: 1.3.5-10 Followup-For: Bug #310329
Michal Cihar wrote: > Attached is possible patch for this. Probably there is more effective way > to solve this issue, but I can't find it right now. > Patch also removes useless execution of several tests in one condition. I just tested MC's patch, it seems to work on my system. Before patch: % zgrep the /usr/share/man/man1/zgrep.1.gz ; echo $? /bin/zgrep: 103: Syntax error: Bad substitution 2 After patch: % zgrep the /usr/share/man/man1/zgrep.1.gz ; echo $? is used to invoke the If no file is specified, then the standard input is decompressed Otherwise the given files are uncompressed if necessary and fed to then If the GREP environment variable is set, uses it as the 0 Double check with 'zcat' and 'grep', and the output looks the same: % zcat /usr/share/man/man1/zgrep.1.gz | grep the is used to invoke the If no file is specified, then the standard input is decompressed Otherwise the given files are uncompressed if necessary and fed to then If the GREP environment variable is set, uses it as the HTH... -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.11-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Versions of packages gzip depends on: ii debianutils 2.13.2 Miscellaneous utilities specific t ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]