[illumos-Developer] grep -Z etc? (decompress! was: webrev: 650 grep support for -q ...)
Alan Coopersmith
alan.coopersmith at oracle.com
Thu May 5 22:35:41 PDT 2011
On 05/ 5/11 10:17 PM, Gordon Ross wrote:
> On Fri, May 6, 2011 at 12:04 AM, Garrett D'Amore <garrett at nexenta.com> wrote:
>> I have very mixed feelings about introducing these dependencies. But
>> perhaps its time to consider bring these libraries into ON?
>>
>> - Garrett
>>
>
> Or it could just fork off a "gzip -dc" (or whatever) when it needs to
> decompress something. I took a stab at that (diff attached).
Much like what tar does already:
http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/tar/tar.c#693
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the Developer
mailing list