Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2026 10:22:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259197] xzgrep should present a message when fed a non-recognised file format
Message-ID:  <bug-259197-227-ETyv2v3rvg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259197-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259197-227-ETyv2v3rvg>