GNU bug report logs - #16317
fail fast mechanism for GNU diff

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: diffutils; Severity: wishlist; Reported by: Karl-Philipp Richter <krichter722@HIDDEN>; dated Wed, 1 Jan 2014 20:03:02 UTC; Maintainer for diffutils is bug-diffutils@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 16317 <at> debbugs.gnu.org:


Received: (at 16317) by debbugs.gnu.org; 1 Jan 2014 22:28:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 01 17:28:35 2014
Received: from localhost ([127.0.0.1]:56699 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VyUHC-0001jD-Rm
	for submit <at> debbugs.gnu.org; Wed, 01 Jan 2014 17:28:35 -0500
Received: from smtp.cs.ucla.edu ([131.179.128.62]:46482)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eggert@HIDDEN>) id 1VyUHA-0001j1-26
 for 16317 <at> debbugs.gnu.org; Wed, 01 Jan 2014 17:28:32 -0500
Received: from localhost (localhost.localdomain [127.0.0.1])
 by smtp.cs.ucla.edu (Postfix) with ESMTP id 34BFDA60003;
 Wed,  1 Jan 2014 14:28:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
 by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 2+2xeXX1gGmB; Wed,  1 Jan 2014 14:28:30 -0800 (PST)
Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net
 [108.0.233.62])
 by smtp.cs.ucla.edu (Postfix) with ESMTPSA id BE2E439E80F8;
 Wed,  1 Jan 2014 14:28:30 -0800 (PST)
Message-ID: <52C49689.4090900@HIDDEN>
Date: Wed, 01 Jan 2014 14:28:25 -0800
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Karl-Philipp Richter <krichter722@HIDDEN>, 16317 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#16317: fail fast mechanism for GNU diff
References: <52C3FB4C.4080705@HIDDEN>
In-Reply-To: <52C3FB4C.4080705@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.4 (--)
X-Debbugs-Envelope-To: 16317
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Karl-Philipp Richter wrote:
> I'd like to know if there's a possibility within GNU diff (I checked
> diffutils 3.2) to fail fast

There isn't an option to do that now, but it'd make sense to add one.




Information forwarded to bug-diffutils@HIDDEN:
bug#16317; Package diffutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Jan 2014 20:02:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 01 15:02:44 2014
Received: from localhost ([127.0.0.1]:56489 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VyS03-0006ET-TK
	for submit <at> debbugs.gnu.org; Wed, 01 Jan 2014 15:02:44 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52351)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <krichter722@HIDDEN>) id 1VyJwi-00086b-LM
 for submit <at> debbugs.gnu.org; Wed, 01 Jan 2014 06:26:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <krichter722@HIDDEN>) id 1VyJwY-0002Qf-Qk
 for submit <at> debbugs.gnu.org; Wed, 01 Jan 2014 06:26:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59667)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <krichter722@HIDDEN>) id 1VyJwY-0002QT-Ng
 for submit <at> debbugs.gnu.org; Wed, 01 Jan 2014 06:26:34 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54048)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <krichter722@HIDDEN>) id 1VyJwR-0000zP-35
 for bug-diffutils@HIDDEN; Wed, 01 Jan 2014 06:26:34 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <krichter722@HIDDEN>) id 1VyJwJ-0002NL-PP
 for bug-diffutils@HIDDEN; Wed, 01 Jan 2014 06:26:27 -0500
Received: from omr-m06.mx.aol.com ([64.12.143.80]:34155)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <krichter722@HIDDEN>) id 1VyJwJ-0002NH-L7
 for bug-diffutils@HIDDEN; Wed, 01 Jan 2014 06:26:19 -0500
Received: from mtaout-mbb01.mx.aol.com (mtaout-mbb01.mx.aol.com
 [172.26.254.109])
 by omr-m06.mx.aol.com (Outbound Mail Relay) with ESMTP id 1B7BE700308C6
 for <bug-diffutils@HIDDEN>; Wed,  1 Jan 2014 06:26:19 -0500 (EST)
Received: from [192.168.178.62] (port-92-195-158-202.dynamic.qsc.de
 [92.195.158.202])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mtaout-mbb01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id
 B48CB380000A2
 for <bug-diffutils@HIDDEN>; Wed,  1 Jan 2014 06:26:14 -0500 (EST)
Message-ID: <52C3FB4C.4080705@HIDDEN>
Date: Wed, 01 Jan 2014 12:26:04 +0100
From: Karl-Philipp Richter <krichter722@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: bug-diffutils@HIDDEN
Subject: fail fast mechanism for GNU diff
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="1DQUWWjM6DqwaAmRQG94ER9CW6xFpDB0C"
x-aol-global-disposition: G
X-AOL-VSS-INFO: 5600.1067/95855
X-AOL-VSS-CODE: clean
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com;
 s=20121107; t=1388575578;
 bh=wuof4mMhWkDOyWJnrx5reJ79NbbTLoi/ktISvY4/Af4=;
 h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type;
 b=wZbCeyPsq/wMS+zZbcclHwxS72u578DexrrAVx+JnAS38mKN2dJ0ekZfbpbR8mExc
 k4yAn5iIWW79sQQKOyuDBQSdTPm1PXyQqMPNWw6A6FJE0VeZAGQdX9EgfCqdjS+O6B
 ELdE+ya/H4LVDU/XfgPqufpOiAp4sLaLg16MZEjc=
x-aol-sid: 3039ac1afe6d52c3fb564fb0
X-AOL-IP: 92.195.158.202
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.7 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 01 Jan 2014 15:02:41 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.7 (----)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--1DQUWWjM6DqwaAmRQG94ER9CW6xFpDB0C
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi together,
I'm new to this list and hope to be at the right place.

I'd like to know if there's a possibility within GNU diff (I checked
diffutils 3.2) to fail fast (i.e. return with and exit code !=3D 0) after=

the first difference has been found in the file or any file (in a
recursive diff). I know that I could listen to output on stdout, but
this wouldn't be within diff.

Kind regards,
Karl-P. Richter


--1DQUWWjM6DqwaAmRQG94ER9CW6xFpDB0C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSw/tMAAoJEGadKJ8eJ7ZGBFQH/RaTPcBRc94fFgd8gRH0gKfc
CobQQAeGMc1y0JaLtPOy9lvDX/WpT+py92E6SIRmwWYev0VNsttqA++FeiDaF9X5
l0MH+/0Wev70azcdLMp76/GfalpZZYDquXrV4+c8Ugwm0QJwHrlMLqyDXUWvc04b
hs4IvYXmNYv+onBVmbPE5/jJjaZ1aZaX0KDwNoihXuF+3vXCb7V/yHcqbNQymiWB
G66PjEzHMAnp0bW7tOnZJINNkvWGDtOhCe9Nj2L9XzY7HKrmwsXZ2togzcBNuHO0
PRVR0AYbT3ehuBQB0Z/mnYuROqJYBbbgYyGZDV2Lp3S1323OFEsCjjtoSKBAcdU=
=w1x3
-----END PGP SIGNATURE-----

--1DQUWWjM6DqwaAmRQG94ER9CW6xFpDB0C--




Acknowledgement sent to Karl-Philipp Richter <krichter722@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-diffutils@HIDDEN. Full text available.
Report forwarded to bug-diffutils@HIDDEN:
bug#16317; Package diffutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.