[Bug 259197] xzgrep should present a message when fed a non-recognised file format

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 Dec 2025 01:38:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259197

--- Comment #4 from Graham Perrin <grahamperrin@gmail.com> ---
Thanks, first I need to get my bearings :-) after four years.

Reviewing the first two lines of comment 0, I have a distant recollection that
the file might have been somehow corrupted. At the time, I probably used
FreeBSD-CURRENT.

Compare with the final line below, with a more modern RELEASE and a file that
is probably not corrupted: 


grahamperrin@clean:~ % freebsd-version -kru ; uname -mvKU
15.0-RELEASE-p1
15.0-RELEASE-p1
15.0-RELEASE-p1
FreeBSD 15.0-RELEASE-p1 releng/15.0-n280999-7bceec30b351 GENERIC amd64 1500068
1500068
grahamperrin@clean:~ % date
Wed Dec 31 01:32:53 GMT 2025
grahamperrin@clean:~ % zcat /var/log/messages.0.bz2 | grep -e harfbuzz -e
electron
Oct  7 03:46:35 clean pkg[1447]: harfbuzz-10.3.0 installed
Oct  7 03:46:35 clean pkg[1447]: harfbuzz-icu-10.3.0 installed
Oct 22 01:30:47 clean pkg[1962]: harfbuzz-icu-10.3.0 deinstalled
Oct 22 01:31:09 clean pkg[1962]: harfbuzz-10.3.0 deinstalled
Oct 22 01:31:58 clean pkg[1962]: harfbuzz-10.3.0 installed
Oct 22 01:31:58 clean pkg[1962]: harfbuzz-icu-10.3.0 installed
grahamperrin@clean:~ % xzgrep harfbuzz /var/log/messages.0.bz2
grahamperrin@clean:~ %

-- 
You are receiving this mail because:
You are the assignee for the bug.