From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 01 15:02:44 2014 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 ) id 1VyS03-0006ET-TK for submit@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 ) id 1VyJwi-00086b-LM for submit@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 ) id 1VyJwY-0002Qf-Qk for submit@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 ) id 1VyJwY-0002QT-Ng for submit@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 ) id 1VyJwR-0000zP-35 for bug-diffutils@gnu.org; Wed, 01 Jan 2014 06:26:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VyJwJ-0002NL-PP for bug-diffutils@gnu.org; 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 ) id 1VyJwJ-0002NH-L7 for bug-diffutils@gnu.org; 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 ; 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 ; Wed, 1 Jan 2014 06:26:14 -0500 (EST) Message-ID: <52C3FB4C.4080705@aol.de> Date: Wed, 01 Jan 2014 12:26:04 +0100 From: Karl-Philipp Richter 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@gnu.org 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@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 01 17:28:35 2014 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 ) id 1VyUHC-0001jD-Rm for submit@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 ) id 1VyUHA-0001j1-26 for 16317@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@cs.ucla.edu> Date: Wed, 01 Jan 2014 14:28:25 -0800 From: Paul Eggert 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 , 16317@debbugs.gnu.org Subject: Re: [bug-diffutils] bug#16317: fail fast mechanism for GNU diff References: <52C3FB4C.4080705@aol.de> In-Reply-To: <52C3FB4C.4080705@aol.de> 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@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 30 01:30:57 2014 Received: (at control) by debbugs.gnu.org; 30 Mar 2014 05:30:57 +0000 Received: from localhost ([127.0.0.1]:56632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WU8Ke-00054H-AL for submit@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 ) id 1WU8Ka-0004zw-Ri for control@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 ; 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 ; 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 ; Sat, 29 Mar 2014 22:30:52 -0700 (PDT) Message-ID: <5337AC0B.5060207@cs.ucla.edu> Date: Sat, 29 Mar 2014 22:30:51 -0700 From: Paul Eggert 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@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@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) severity 16317 wishlist