Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2022 19:04:43 +0000 (UTC)
From:      doug <doug@safeport.com>
To:        freebsd-questions@FreeBSD.org
Subject:   bzgrep question.
Message-ID:  <623c3a-36fb-bfb3-bc39-508a31f0f39@safeport.com>

next in thread | raw e-mail | index | archive | help
On a 12.1 system `bzgrep -f` does not work.

> uname -a
FreeBSD freeport.safeport.com 12.1-RELEASE-p8 FreeBSD 12.1-RELEASE-p8 
GENERIC  amd64

> bzgrep -f /tmp/ids maillog.0.bz2
bzcat: I won't read compressed data from a terminal.
bzcat: For help, type: `bzcat --help'.
--------------
> bzcat maillog.0.bz2 | grep -f /tmp/ids | head
Feb  4 00:14:29 freeport postfix/qmgr[47890]: C502C3B8AE8: 
from=<doug@widgets.com>, size=37455, nrcpt=3 (queue active)
Feb  4 00:14:29 freeport postfix/qmgr[47890]: AAB0B1793D2: from=<>, 
size=6262, nrcpt=1 (queue active)

I know this has worked on other 12.1 systems but currently I only have this 
one.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?623c3a-36fb-bfb3-bc39-508a31f0f39>