Alternatives to zcat ?
rob at robc.info
Sun Jan 11 12:30:27 PST 2004
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 ?
More information about the freebsd-questions