#471599 gzip: Please make zgrep -R work

Package:
gzip
Source:
gzip
Description:
GNU compression utilities
Submitter:
Andreas Tille
Date:
2010-01-28 00:21:03 UTC
Severity:
wishlist
#471599#5
Date:
2008-03-19 08:12:23 UTC
From:
To:
Hi,

I tried

 $ zgrep -R test *
 /bin/zgrep: -R: option not supported

and I wonder if there is any reason that zgrep does not support
-R if I want to recursively grep directories with gzipped files.

Kind regards

         Andreas.

#471599#10
Date:
2008-03-19 14:28:53 UTC
From:
To:
tags 471599 +wontfix
thanks

Because zgrep is a (relatively) simple wrapper around grep.  To
implement this we'd have to replicate the functionality in the wrapper.

Upstream has lamented the continued existence of the z* wrappers, so for
this to change would require that someone like you or I decide it's
worth implementing.  There are enough other ways to achieve a similar
result that I'm not motivated to do this.  Will thus tag this bug
'wontfix'.

If you or someone else is motivated to develop a suitable patch for the
zgrep wrapper, I'll be happy to help pass it upstream, though.

Bdale

#471599#17
Date:
2010-01-28 00:18:41 UTC
From:
To:
Per 'man zgrep':

All options specified are passed directly to grep.