[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
RE: A UNIX Query..
Yup, you need to uncompress the files to grep patterns. But the
question
was to minimise disk access. I don't think we have any tool for
uncompressing
the file in memory, and searching for pattern.
Isn't that a great idea ? Making a tool to do that doesn't seem
difficult. Any takers ...
(I am going to give it a try this Saturday ... :-))
Suvendra
> -----Original Message-----
> From: Manoj Srivastava [SMTP:srivasta@xxxxxxx]
> Sent: Tuesday, August 03, 1999 9:51 PM
> To: linux-india@xxxxxxxxx
> Subject: Re: A UNIX Query..
>
> Hi,
> >>"Nitin" == Nitin <nitin@xxxxxxxxxxxxxxxxx> writes:
>
> Nitin> man zgrep
> Nitin> HTH
>
> I don't think this will do either. zgrep is merely a wrapper,
> it uncompresses before applying the pattern. From what I remember,
> there is no way, theoretically, to look for a match without
> uncompressing the data first.
>
> manoj
> --
> The final delusion is the belief that one has lost all
> delusions. Maurice Chapelain, "Main courante"
> Manoj Srivastava <srivasta@xxxxxxxxxx>
> <http://www.debian.org/%7Esrivasta/>
> Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8
> 6E
>
> --------------------------------------------------------------------
> For more information on Linux in India visit http://www.linux-india.org/
> The Linux India mailing list does not accept postings in HTML format.
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.
------------------------------