[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request for zgrep
From: |
Antonio Diaz Diaz |
Subject: |
Re: Feature request for zgrep |
Date: |
Fri, 20 Jul 2012 17:09:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Van Snyder wrote:
In addition to zgrep, we need bzgrep.
I guess you need something like zutils[1].
[1] http://www.nongnu.org/zutils/zutils.html
Zutils is a collection of utilities able to deal with any combination of
compressed and non-compressed files transparently. If any given file,
including standard input, is compressed, its decompressed content is
used. Compressed files are decompressed on the fly; no temporary files
are created. These utilities are not wrapper scripts but safer and more
efficient C++ programs. In particular the "--recursive" option is very
efficient in those utilities supporting it.
The provided utilities are:
Zcat - Decompresses and copies files to standard output.
Zcmp - Decompresses and compares two files byte by byte.
Zdiff - Decompresses and compares two files line by line.
Zgrep - Decompresses and searches files for a regular expression.
Ztest - Tests integrity of compressed files.
The supported compressors are bzip2, gzip, lzip and xz.
Regards,
Antonio.