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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Jan 2026 10:22:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259197

--- Comment #11 from Daniel Tameling <tamelingdaniel@gmail.com> ---
(In reply to Craig Leres from comment #10)

I'm confused. I don't know how you want to address this issue.

The "File format not recognized" message comes from xz when it encounters a
file it can't decompress, which includes text files. Once you add -f you're not
getting that message anymore. And xz cannot distinguish between bzip2 files and
regular text files. That's what I care about; I still want to be able to pass
regular files to xzgrep without getting errors.

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