Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929978 - app-alternatives/gzip-1 missing zgrep
Summary: app-alternatives/gzip-1 missing zgrep
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-14 05:04 UTC by Duncan
Modified: 2024-04-15 16:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2024-04-14 05:04:01 UTC
On a system without app-arch/gzip (well, with a no-files null-package for it since sys-apps/cpuid is still pulling it in, bug #929975; I negate @system so existence there isn't a problem here), I seem to be missing zgrep.

Checking the app-arch/gzip tarball it appears the version there is a shellscript, as are various other commands such as gunzip and zcat which app-alternatives/gzip symlinks to gzip, along with less used commands that aren't dealt with by the alternatives version such as zless/zmore, zcmp/zdiff, zforce and znew.

zgrep's the only missing one I tend to use here (and was aware of before the above check), most often to zgrep <whatever> /proc/config.gz .  Of course I can zcat /proc/config.gz | grep <whatever> instead, but for people used to zgrep that's annoying.

So here's a request for app-alternatives/gzip to provide a working zgrep (and manpage) too, just as it does gunzip and zcat (tho that manpage isn't proper, it's a symlink to the pigz manpage which a search of suggests doesn't mention zcat at all), altho those are admittedly easier since they can just be symlinks.

(If you want to close this as UPSTREAM or some such, fine here as I'll deal with it locally, either copying the one from the app-arch/gzip sources or creating a simple zcat | grep stub-script.  But I imagine others will be missing zgrep too and however this resolves it'll provide an answer for them too.)