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: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#4982: rgrep can't deal with .gz files
Date: Fri, 20 Nov 2009 11:07:08 +0100
Juri Linkov <juri <at> jurta.org> writes:

>> rgrep should be enhanced so if it encounters .gz files
>> it knows what to do.
>
> This would be tricky to implement.  When searching in .gz files
> we have to rely on zgrep (that has its own problems - it doesn't
> highlight grep matches).

traverselisp.el handle compressed archives using avfs.
http://www.emacswiki.org/cgi-bin/emacs/traverselisp.el
You can launch traverse-deep-rfind (similar to rgrep) on any archive.(tar)gz.

You could use also avfs to handle .gz files with rgrep.
http://sourceforge.net/projects/avf/
 
> I suggest creating a new command (say, `zrgrep') as a wrapper for `zgrep'
> and with UI like `rgrep'.

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France





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.