Solved xzgrep

grahamperrin

Son of Beastie

Reaction score: 1,025
Messages: 3,445

When xzgrep is misused, should a message appear?

Code:
% xzgrep harfbuzz /var/log/messages.0.bz2
% zcat /var/log/messages.0.bz2 | grep -e harfbuzz -e electron
Oct 13 07:41:46 mowa219-gjp4-8570p-freebsd pkg[1984]: electron12 upgraded: 12.0.9_1 -> 12.0.9_2 
Oct 13 07:44:15 mowa219-gjp4-8570p-freebsd pkg[3312]: harfbuzz upgraded: 2.9.1 -> 3.0.0 
Oct 13 07:44:15 mowa219-gjp4-8570p-freebsd pkg[3312]: harfbuzz-icu upgraded: 2.9.1 -> 3.0.0 
% zgrep harfbuzz /var/log/messages.0.bz2         
Oct 13 07:44:15 mowa219-gjp4-8570p-freebsd pkg[3312]: harfbuzz upgraded: 2.9.1 -> 3.0.0 
Oct 13 07:44:15 mowa219-gjp4-8570p-freebsd pkg[3312]: harfbuzz-icu upgraded: 2.9.1 -> 3.0.0 
% xzcat /var/log/messages.0.bz2
xzcat: /var/log/messages.0.bz2: File format not recognized
%

zgrep(1)
 
Top