GNU bug report logs - #4982
rgrep can't deal with .gz files

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Fri, 20 Nov 2009 01:50:04 UTC

Severity: normal

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: jidanni <at> jidanni.org
To: juri <at> jurta.org
Cc: 4982 <at> debbugs.gnu.org
Subject: bug#4982: rgrep can't deal with .gz files
Date: Sat, 21 Nov 2009 05:17:02 +0800
>>>>> "JL" == Juri Linkov <juri <at> jurta.org> writes:
>> rgrep should be enhanced so if it encounters .gz files
>> it knows what to do.

JL> This would be tricky to implement.  When searching in .gz files
JL> we have to rely on zgrep

Ah, of course... OK, now in .emacs I'll just use
(setq grep-program "zgrep")
as a workaround, as zgrep also works fine on non compressed files.

JL>(that has its own problems - it doesn't highlight grep matches).

Seems to work for me.

JL> I suggest creating a new command (say, `zrgrep') as a wrapper for `zgrep'
JL> and with UI like `rgrep'.



This bug report was last modified 15 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.