Date: Sat, 10 Jan 2004 20:27:35 -0000 From: "rob.c" <rob@robc.info> To: <freebsd-questions@freebsd.org> Subject: Alternatives to zcat ? Message-ID: <002301c3d7b8$2f2257c0$0207a8c0@coconut> References: <000d01c3d435$3bd86b20$0800000a@globalvc.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <yesterdayscompressedlogfile> | 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002301c3d7b8$2f2257c0$0207a8c0>
