X-Loop: help-debbugs@HIDDEN Subject: bug#16317: fail fast mechanism for GNU diff Resent-From: Karl-Philipp Richter <krichter722@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-diffutils@HIDDEN Resent-Date: Wed, 01 Jan 2014 20:03:02 +0000 Resent-Message-ID: <handler.16317.B.138860656523966 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 16317 X-GNU-PR-Package: diffutils X-GNU-PR-Keywords: To: 16317 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-diffutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.138860656523966 (code B ref -1); Wed, 01 Jan 2014 20:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jan 2014 20:02:45 +0000 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 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-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--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Karl-Philipp Richter <krichter722@HIDDEN> Subject: bug#16317: Acknowledgement (fail fast mechanism for GNU diff) Message-ID: <handler.16317.B.138860656523966.ack <at> debbugs.gnu.org> References: <52C3FB4C.4080705@HIDDEN> X-Gnu-PR-Message: ack 16317 X-Gnu-PR-Package: diffutils Reply-To: 16317 <at> debbugs.gnu.org Date: Wed, 01 Jan 2014 20:03:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-diffutils@HIDDEN If you wish to submit further information on this problem, please send it to 16317 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 16317: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16317 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#16317: [bug-diffutils] bug#16317: fail fast mechanism for GNU diff Resent-From: Paul Eggert <eggert@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-diffutils@HIDDEN Resent-Date: Wed, 01 Jan 2014 22:29:02 +0000 Resent-Message-ID: <handler.16317.B16317.13886153156652 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 16317 X-GNU-PR-Package: diffutils X-GNU-PR-Keywords: To: Karl-Philipp Richter <krichter722@HIDDEN>, 16317 <at> debbugs.gnu.org Received: via spool by 16317-submit <at> debbugs.gnu.org id=B16317.13886153156652 (code B ref 16317); Wed, 01 Jan 2014 22:29:02 +0000 Received: (at 16317) by debbugs.gnu.org; 1 Jan 2014 22:28:35 +0000 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 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-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.
Received: (at control) by debbugs.gnu.org; 30 Mar 2014 05:30:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 30 01:30:57 2014 Received: from localhost ([127.0.0.1]:56632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1WU8Ke-00054H-AL for submit <at> debbugs.gnu.org; Sun, 30 Mar 2014 01:30:56 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:42138) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <eggert@HIDDEN>) id 1WU8Ka-0004zw-Ri for control <at> debbugs.gnu.org; Sun, 30 Mar 2014 01:30:53 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 75B8639E8012 for <control <at> debbugs.gnu.org>; Sat, 29 Mar 2014 22:30:52 -0700 (PDT) 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 k0E1FHnZNo4c for <control <at> debbugs.gnu.org>; Sat, 29 Mar 2014 22:30:52 -0700 (PDT) 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 34A5A39E8011 for <control <at> debbugs.gnu.org>; Sat, 29 Mar 2014 22:30:52 -0700 (PDT) Message-ID: <5337AC0B.5060207@HIDDEN> Date: Sat, 29 Mar 2014 22:30:51 -0700 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.4.0 MIME-Version: 1.0 To: control <at> debbugs.gnu.org Subject: 16317 is wishlist Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control 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.7 (--) severity 16317 wishlist
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.