Linux-Hams archive - September 1998: Re: indexing a large file
Re: indexing a large file
Richard Adams (irto.hqfa@mailit.tunk.net)
Mon, 7 Sep 1998 15:13:31 +0000 (GMT)
According to rhzqmya.rcvvqw@mail.dy.fi: While burning my CPU.
>
>
> HI all
>
> I have a huge comma delimited text file i would like to index to make it
> faster to access. I did start with grep but it takes ages.
>
> I would like to be able access it against the first 2 fields in each record.
> ie via item 1 or item 2 but not both.
>
> Can anyone suggest a utility or program that would help me achieve this ..
"sort" might help you.
>
> many thanks
>
> > </Stuart>
> >
> > Stuart Barron
> > mailto:terhi.victor@logonet.com (work)
> gngh@kerailya.tunkki.fi (Linux / fbb / jnos / with will ax25 <->IP
> gateway)
> g7jyf@gb7stu.#32.gbr.eu
>
>
--
Regards Richard.
cdoijqde.ytwngwc@oo6.ipartners.pl