Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2003 06:36:52 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Kenzo <kenzo_chin@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gunzip question
Message-ID:  <20030409033652.GB650@gothmog.gr>
In-Reply-To: <DAV22d6Lc8xzx4tNrGU0000934f@hotmail.com>
References:  <DAV22d6Lc8xzx4tNrGU0000934f@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-04-08 10:24, Kenzo <kenzo_chin@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030409033652.GB650>