From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 20:38:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CB6237B404 for ; Tue, 8 Apr 2003 20:38:22 -0700 (PDT) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1838843F75 for ; Tue, 8 Apr 2003 20:38:18 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b135.otenet.gr [212.205.244.143]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h393bqmP024689; Wed, 9 Apr 2003 06:38:03 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h393bncN000811; Wed, 9 Apr 2003 06:37:49 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h393aqLO000770; Wed, 9 Apr 2003 06:36:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 9 Apr 2003 06:36:52 +0300 From: Giorgos Keramidas To: Kenzo Message-ID: <20030409033652.GB650@gothmog.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-questions@freebsd.org Subject: Re: gunzip question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2003 03:38:22 -0000 On 2003-04-08 10:24, Kenzo 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