Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2014 16:31:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 186861] bsdgrep(1): xzgrep(1) sometimes doesn't find matches it should find
Message-ID:  <bug-186861-8-6UkuLEmyPo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-186861-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-186861-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186861

--- Comment #1 from shoesoft@gmx.net ---
I can reproduce that bug on 10-STABLE.

xzgrep only works on the first 32K (uncompressed) of the input file.

$ seq 10000 | xz > seq.xz
$ xzgrep -c . seq.xz
6775

Using regular grep works as expected:
$ xzcat seq.xz | grep -c .
10000

zgrep/bz2grep also work.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-186861-8-6UkuLEmyPo>