Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement zgrep #29

Open
Keruspe opened this issue Dec 28, 2015 · 2 comments
Open

Implement zgrep #29

Keruspe opened this issue Dec 28, 2015 · 2 comments

Comments

@Keruspe
Copy link

Keruspe commented Dec 28, 2015

This would be cool to get us closer to being a drop-in replacement for gnu gzip

@dnbaker
Copy link

dnbaker commented Feb 3, 2017

According to this issue, decompression is fundamentally single-threaded and can't be improved using pigz except for handing other portions of the task to other threads, which can sometimes make a small, but not enormous, difference.

You're better using pigz -dc $file | grep <args>, or , if you're streaming, cmd1 | pigz -d | grep <args>.

I am, of course, no contributor or developer of zlib, so I can't speak for @madler, but I wouldn't keep hopes up.

@gcflymoto
Copy link

I highly recommend the excellent and stable zutils suite of utilities (zgrep, zcat, zcmp, zdiff, ztest, update), which provides transparent support for several formats, including bzip2, gzip, lzip, xz, and zstd.

https://www.nongnu.org/zutils/zutils.html

The decompressor utility can be configured for each format, including utilizing pigz, or pigz+zlib-ng or isa-l or rapidgzip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants