From owner-freebsd-stable@FreeBSD.ORG Mon Sep 29 14:14:05 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81A8B69 for ; Mon, 29 Sep 2014 14:14:05 +0000 (UTC) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53EA3FB5 for ; Mon, 29 Sep 2014 14:14:04 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by gateway2.nyi.internal (Postfix) with ESMTP id 631BB19FD for ; Mon, 29 Sep 2014 10:14:03 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute2.internal (MEProxy); Mon, 29 Sep 2014 10:14:03 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=b33U5th8c/NIktwW1nSK5X2o LjU=; b=E06MuGPWUQ9WlSltNlOTh4M9llQXflcfqjw2HhcFx2/bdjUdFKjHM5CN lyvKjKE/GWKp+gqg5otm1SRaZUWYthnx6GuIcXyOB/yM/e3Yuat2UNnwoX3jaRN+ sNAFePKCrcITuSk5626sXvdAeL55aukn44KuNsiHidRiHcCcfGw= Received: by web6.nyi.internal (Postfix, from userid 99) id 3660E5A31A; Mon, 29 Sep 2014 10:14:03 -0400 (EDT) Message-Id: <1412000043.1250852.172976197.0B46058D@webmail.messagingengine.com> X-Sasl-Enc: gXgLJwd0klZanC17pWD1OVj7ysiuQ7SbbmZtobZ+y0hp 1412000043 From: Mark Felder To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-cad53418 In-Reply-To: <541DE9FC.2090003@gmx.net> References: <541DE9FC.2090003@gmx.net> Subject: Re: xzgrep: incomplete results on larger files Date: Mon, 29 Sep 2014 09:14:03 -0500 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: Mon, 29 Sep 2014 14:14:05 -0000 On Sat, Sep 20, 2014, at 15:56, Stefan Ehmann wrote: > 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). > Wow, this is bizarre... Compression with xz is getting more and more popular. This may have bit me a few times and I didn't even know it! I'll see what I can to do bring this to someone's attention.