https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259197
Wolfram Schneider <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |[email protected], | |[email protected] Status|New |Open --- Comment #1 from Wolfram Schneider <[email protected]> --- I think the problem is that the script xzgrep calls xz(1) with the -f flag by default. # create a test file man tcsh | bzip2 > tcsh.bz2 wc tcsh.bz2 224 1596 56890 tcsh.bz2 # with the -f flag, xz will return the compressed file if the format is unknown, and show no warnings xzcat -f tcsh.bz2 | wc 224 1596 56890 # xzgrep falls back to binary search in bz2 data /usr/bin/xzgrep -c . tcsh.bz2 ; echo $? 222 0 # without -f flag xzcat tcsh.bz2 | grep tcsh; echo $? xzcat: tcsh.bz2: File format not recognized 1 -- You are receiving this mail because: You are the assignee for the bug.
