Alternatives to zcat ?
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) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resolved (Re: Alternatives to zcat ?)
- Original Message - From: Gautam Gopalakrishnan [EMAIL PROTECTED] To: rob.c [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, January 11, 2004 8:35 PM Subject: Re: Alternatives to zcat ? On Sat, Jan 10, 2004 at 08:27:35PM -, 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. SNIP /usr/bin/bzcat Thanks Gautam and Scott for your suggestion. It worked of course. rob aka peas ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]