From owner-freebsd-questions@FreeBSD.ORG Sun Jan 11 12:38:22 2004 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 03A3216A4CE for ; Sun, 11 Jan 2004 12:38:22 -0800 (PST) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B65DD43D39 for ; Sun, 11 Jan 2004 12:38:20 -0800 (PST) (envelope-from wegster@mindcore.net) Received: from mindcore.net (rdu162-234-100.nc.rr.com [24.162.234.100]) i0BKcHYr019667; Sun, 11 Jan 2004 15:38:17 -0500 (EST) Message-ID: <4001B439.7010307@mindcore.net> Date: Sun, 11 Jan 2004 15:38:17 -0500 From: Scott W User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031129 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "rob.c" References: <000d01c3d435$3bd86b20$0800000a@globalvc.co.uk> <002301c3d7b8$2f2257c0$0207a8c0@coconut> In-Reply-To: <002301c3d7b8$2f2257c0$0207a8c0@coconut> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: Alternatives to zcat ? 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: Sun, 11 Jan 2004 20:38:22 -0000 rob.c wrote: >Hello All, > >I used to peruse my logs (when prompted by events in the periodic script >output emails) using zcat, however i've just tried again for the first time >recently and appears the logfile compression format has changed. This is in >turn means that i can no longer use a command like "zcat > | grep searchstringfromoutputemail" as it just >renders a "not in gzip format" message. So my question really is ... is >there an alternative to zcat that can read .bz2 compression or do i have to >go back to unziping to a directory first and deleting it afterwards ? > >regards, >rob >(aka peas) > > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > bzcat would seem to be part of the base system... Scott