[19704] in Athena Bugs

home help back first fref pref prev next nref lref last post

linux 9.0.14: zgrep

daemon@ATHENA.MIT.EDU (Eric Mumpower)
Sun Aug 26 22:54:43 2001

Message-Id: <200108270250.WAA14163@pickled-herring.mit.edu>
To: bugs@MIT.EDU
Date: Sun, 26 Aug 2001 22:50:39 -0400
From: Eric Mumpower <nocturne@MIT.EDU>

System name:		pickled-herring.mit.edu
Type and version:	i686 9.0.14 (with mkserv)
Display type:		XFree86 3.3.6a SVGA

Shell:			/afs/sipb/project/tcsh/tcsh
Window manager:		/mit/windowmanagers/linuxbin/vtwm.gamma -f /mit/nocturne/dotfiles/vtwmrc

What were you trying to do?

Use /usr/bin/zgrep as an automatically-decompressing drop-in replacement for
grep.

What's wrong:

Unlike grep, after searching each file, it echoes a blank line. This is
annoying, and causes it to behave less like grep than it could.

What should have happened:

It should have been largely indistinguishable from grep.

Please describe any relevant documentation references:

The zgrep script included in the NetBSD and Debian distributions does not
have this problem. For a simple fix, it would be adequate simply to remove
the offending echo from line 67 of /usr/bin/zgrep.

I realize that this is a problem in the RedHat release and not with Athena
software. And thus I don't really feel it's I/S's problem to fix this. But I
thought I'd point it out in case you cared.

home help back first fref pref prev next nref lref last post