From owner-freebsd-stable@FreeBSD.ORG Sat Sep 20 20:56:39 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F7E2553 for ; Sat, 20 Sep 2014 20:56:39 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AED49E1 for ; Sat, 20 Sep 2014 20:56:38 +0000 (UTC) Received: from walrus.pepperland ([81.217.76.60]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LjJCt-1Y1Tbf0zZX-00daKE for ; Sat, 20 Sep 2014 22:56:36 +0200 Message-ID: <541DE9FC.2090003@gmx.net> Date: Sat, 20 Sep 2014 22:56:28 +0200 From: Stefan Ehmann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: xzgrep: incomplete results on larger files Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ilS1y92Q/azHxyf35qlcRpRwunvod2ICJXFCVPOfRoUYzv9s1iE W1PnGOiR2ZY9EivHfprKleCGtoMbo5kxWOl4ZbKI0V6x+2N7viA/yHythYm18CAcf5kYrqy FWUVPVoGKK2wB3cu38cKtGdPpfXMkewiNCr7BDDzBfXnbhnXSXOeLS/pT5zhVT41dUDe3cg LSe2SmTWg1wtOk8G+P6uA== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2014 20:56:39 -0000 I observed the following behavior on 10.1-BETA1 r271683M (amd64): xzgrep doesn't search the complete file: $ seq 10000 | xz > seq.xz $ xzgrep -c . seq.xz 6775 Using regular grep works as expected: $ xzcat seq.xz | grep -c . 10000 Processing seems to stop after 32KB (uncompressed).