gunzip question

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Apr 8 20:38:22 PDT 2003


On 2003-04-08 10:24, Kenzo <kenzo_chin at hotmail.com> wrote:
> I want to be able to search within a gzip file without having to
> uncompress it.  say I have a file name one.gz I want to not only view
> the content but to search in it.  if I do " gunzip -c one.gz | more "
> it will display the content, but not give me the option to search.  Is
> there a way to do that?  I hope my question wasn't too confusing.

Something funny is going on here.  The more(1) utility in recent FreeBSD
versions is actually a version of less(1).  Hitting the '/' key should
be all you need to start searching, exactly like less(1) . . .

- Giorgos



More information about the freebsd-questions mailing list