From owner-freebsd-questions@FreeBSD.ORG Sun Jan 11 12:30:27 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 2638A16A4CE for ; Sun, 11 Jan 2004 12:30:27 -0800 (PST) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id A887143D55 for ; Sun, 11 Jan 2004 12:30:25 -0800 (PST) (envelope-from rob@robc.info) Received: from piethief.demon.co.uk ([80.177.98.130] helo=coconut) by anchor-post-31.mail.demon.net with smtp (Exim 3.35 #1) id 1AfmE4-000G6p-0V for freebsd-questions@freebsd.org; Sun, 11 Jan 2004 20:30:24 +0000 Message-ID: <002301c3d7b8$2f2257c0$0207a8c0@coconut> From: "rob.c" To: References: <000d01c3d435$3bd86b20$0800000a@globalvc.co.uk> Date: Sat, 10 Jan 2004 20:27:35 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: 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:30:27 -0000 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)