GNU bug report logs - #34930
diff enhancement request

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: Michael Aramini <m.aramini@HIDDEN>; dated Wed, 20 Mar 2019 23:11:02 UTC; Maintainer for diffutils is bug-diffutils@HIDDEN.

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


Received: (at 34930) by debbugs.gnu.org; 21 Mar 2019 09:29:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 21 05:29:18 2019
Received: from localhost ([127.0.0.1]:52684 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h6u0j-0004PK-Ty
	for submit <at> debbugs.gnu.org; Thu, 21 Mar 2019 05:29:18 -0400
Received: from mail-vs1-f47.google.com ([209.85.217.47]:32914)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <twaugh@HIDDEN>) id 1h6u0i-0004P5-MF
 for 34930 <at> debbugs.gnu.org; Thu, 21 Mar 2019 05:29:17 -0400
Received: by mail-vs1-f47.google.com with SMTP id z6so3286555vsc.0
 for <34930 <at> debbugs.gnu.org>; Thu, 21 Mar 2019 02:29:16 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=dfPDl5FQEKA33IRn9ZAs552lFJJwOhNCaUgl/CE0g1I=;
 b=QpDHa7R2oCPWjmu6ETt/OHwKV3S0srfFz9Qkmk2txZiwH0RpoOLixAMLF8fpuNH0xL
 GyqvHIhisNfv8QgQLSFAGZELFZoB+vrUoIhBv1tbS7jGlohfrbH4F0EHr3TglCmRiOmz
 WuYNlISXQjxMl0JQJ67d8LkxQ5C9GsZAdyyBlp5vw/HGO+DqnBWWXxkLEsnN+/tISUdP
 q7Uy3+1nAWdW8SJbDPt2tP8s5Vfzy+hm6qlNfn5zm5PByLKc2Y7DSY0fupu/pFN7dCHY
 HtvJr/7y+wSCZdZ3W1+Z3yjFQqpHjJuiGCj+ox00+mtn0G3KSAXmjq+tVH/eoS8YIJ7d
 WGvA==
X-Gm-Message-State: APjAAAX+nTMZKCDorcg+h5I2euKoIWW13JcYokGJSX4hP5InLIjlAGyf
 xMJPMSsOTPBZSBowDRyGwaVcsc5rKQspgZuUB+E49w==
X-Google-Smtp-Source: APXvYqxWBbnp8Eg96RlAQ4zEB+zwVj1M1qQOrej/9p92K91jILh1e6NScCDrANP78WbkcJY3zwPzcf1Ta+qJjmKQXUU=
X-Received: by 2002:a67:b106:: with SMTP id w6mr1354494vsl.16.1553160550094;
 Thu, 21 Mar 2019 02:29:10 -0700 (PDT)
MIME-Version: 1.0
References: <391234977.8378347.1553117359553.ref@HIDDEN>
 <391234977.8378347.1553117359553@HIDDEN>
In-Reply-To: <391234977.8378347.1553117359553@HIDDEN>
From: Tim Waugh <twaugh@HIDDEN>
Date: Thu, 21 Mar 2019 09:28:58 +0000
Message-ID: <CA+0K8R2jm1X=6is2T8dVrwj3tmDA6DeYufZUh7n21kzS2yf0uQ@HIDDEN>
Subject: Re: [bug-diffutils] bug#34930: diff enhancement request
To: Michael Aramini <m.aramini@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000de3b360584975e89"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 34930
Cc: 34930 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://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: -1.0 (-)

--000000000000de3b360584975e89
Content-Type: text/plain; charset="UTF-8"

On Wed, 20 Mar 2019 at 23:12, Michael Aramini <m.aramini@HIDDEN> wrote:

> I wish to request an enhancement to diff which would add a command line
> option which takes a regular expression and suppresses differences none of
> whose lines match the regular expression.  Multiple instances of this
> option can be used to specify multiple regular expressions, which cases
> differences will be suppressed if none of the lines of the difference match
> any of the regular expressions.  (Such a feature would be more or less the
> complement of the existing --ignore-matching-lines=*regexp* (-I *regexp*)
> command line option to diff.)
>
> Please let me know if there already is way to accomplish this using
> existing options to GNU diff and/or by the use of other GNU Diffutils.
>

The grepdiff tool (from patchutils) might be able to do what you want,
perhaps in conjunction with other tools:
http://cyberelk.net/tim/software/patchutils/

Tim.
*/

--000000000000de3b360584975e89
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"lt=
r" class=3D"gmail_attr">On Wed, 20 Mar 2019 at 23:12, Michael Aramini &lt;<=
a href=3D"mailto:m.aramini@HIDDEN">m.aramini@HIDDEN</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size=3D"=
3" face=3D"Arial, Helvetica, sans-serif" color=3D"black">
<div><font size=3D"3">I wish to request an enhancement to <font face=3D"Cou=
rier New, Courier, mono">diff</font> which would add a command line option =
which takes a regular expression and suppresses differences none of whose l=
ines match the regular expression.=C2=A0 Multiple instances of this option =
can be used to specify multiple regular expressions, which cases difference=
s will be suppressed if none of the lines of the difference match any of th=
e regular expressions.=C2=A0 (Such a feature would be more or less the comp=
lement of the existing <font face=3D"Courier New, Courier, mono">--ignore-m=
atching-lines=3D<i>regexp</i></font> (<font face=3D"Courier New, Courier, m=
ono">-I <i>regexp</i></font>) command line option to <font face=3D"Courier =
New, Courier, mono">diff</font>.)<br>
</font></div>

<div><font size=3D"3"><br>
</font></div>

<div><font size=3D"3">Please let me know if there already is way to accompl=
ish this using existing options to GNU <font face=3D"Courier New, Courier, =
mono">diff</font> and/or by the use of other GNU Diffutils.</font></div></f=
ont></blockquote><div><br></div><div>The grepdiff tool (from patchutils) mi=
ght be able to do what you want, perhaps in conjunction with other tools:</=
div><div><a href=3D"http://cyberelk.net/tim/software/patchutils/">http://cy=
berelk.net/tim/software/patchutils/</a></div><div><br></div><div>Tim.</div>=
<div>*/</div><div><br></div></div></div></div>

--000000000000de3b360584975e89--




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

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


Received: (at submit) by debbugs.gnu.org; 20 Mar 2019 23:10:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 20 19:10:40 2019
Received: from localhost ([127.0.0.1]:52473 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h6kM3-0005pZ-R7
	for submit <at> debbugs.gnu.org; Wed, 20 Mar 2019 19:10:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41636)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <m.aramini@HIDDEN>) id 1h6itK-0005lV-Qs
 for submit <at> debbugs.gnu.org; Wed, 20 Mar 2019 17:36:56 -0400
Received: from lists.gnu.org ([209.51.188.17]:60994)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <m.aramini@HIDDEN>)
 id 1h6itF-0004ni-91
 for submit <at> debbugs.gnu.org; Wed, 20 Mar 2019 17:36:49 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55834)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <m.aramini@HIDDEN>) id 1h6itE-00016B-5Z
 for bug-diffutils@HIDDEN; Wed, 20 Mar 2019 17:36:48 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <m.aramini@HIDDEN>) id 1h6im7-0006h5-88
 for bug-diffutils@HIDDEN; Wed, 20 Mar 2019 17:29:27 -0400
Received: from sonic315-14.consmr.mail.bf2.yahoo.com ([74.6.134.124]:33678)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <m.aramini@HIDDEN>) id 1h6im6-0006gi-J2
 for bug-diffutils@HIDDEN; Wed, 20 Mar 2019 17:29:27 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizon.net; s=a2048;
 t=1553117364; bh=s49fi8izpjMjpffNJOxQ2UtqY0Y27UeVAjSGZUVl1IE=;
 h=Date:From:To:Subject:References:From:Subject;
 b=qNqc1dilqN5UNkvv1izhaJKfd+koelJlvU259lWBHEuwL1GlusYEe//jVOOTtLdwlWkXslnbjfzyRuyiuA59gRB17Idb+tsZ3OP6OJ2gvdyg+rgl5pZ1MWmf2vwGppblAGH9ZI2QAD13FW2njz9uwFykrxIj7F2McVlHJYNLPHpocm4n2RnX5zBvLcaSDt7sOtpGS7hyIMFa4x3E3W0dvJSy0Wa1ibJED4xTgVvLbPl7dRDj591rHC42lwD9VKBVesPO4/LE3V0aSyZXKNj5bTO+Uv4ax5ODRY7frM5qMiR5CJnsg3Wu6JYGmpSLwbL5RPnANdOoU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N.e_zJ1E6614LgUa4.7A2UeOdLgQg
 8.GUuCdxFbfXJ29p2aYlZZqSd1Mx81gw2WEcKUuM-
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic315.consmr.mail.bf2.yahoo.com with HTTP; Wed, 20 Mar 2019 21:29:24 +0000
Date: Wed, 20 Mar 2019 21:29:19 +0000 (UTC)
From: Michael Aramini <m.aramini@HIDDEN>
To: bug-diffutils@HIDDEN
Message-ID: <391234977.8378347.1553117359553@HIDDEN>
Subject: diff enhancement request
MIME-Version: 1.0
Content-Type: multipart/alternative; 
 boundary="----=_Part_8378346_1775390653.1553117359552"
References: <391234977.8378347.1553117359553.ref@HIDDEN>
X-Mailer: WebService/1.1.13212 aolwebmail Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:60.0) Gecko/20100101 Firefox/60.0
Content-Length: 2284
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 74.6.134.124
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 20 Mar 2019 19:10:38 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://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: -0.3 (/)

------=_Part_8378346_1775390653.1553117359552
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I wish to request an enhancement to diff which would add a command line opt=
ion which takes a regular expression and suppresses differences none of who=
se lines match the regular expression.=C2=A0 Multiple instances of this opt=
ion can be used to specify multiple regular expressions, which cases differ=
ences will be suppressed if none of the lines of the difference match any o=
f the regular expressions.=C2=A0 (Such a feature would be more or less the =
complement of the existing --ignore-matching-lines=3Dregexp (-I regexp) com=
mand line option to diff.)

Please let me know if there already is way to accomplish this using existin=
g options to GNU diff and/or by the use of other GNU Diffutils.

-Michael Aramini

------=_Part_8378346_1775390653.1553117359552
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<font color='black' size='3' face='Arial, Helvetica, sans-serif'>
<div><font size="3">I wish to request an enhancement to <font face="Courier New, Courier, mono">diff</font> which would add a command line option which takes a regular expression and suppresses differences none of whose lines match the regular expression.&nbsp; Multiple instances of this option can be used to specify multiple regular expressions, which cases differences will be suppressed if none of the lines of the difference match any of the regular expressions.&nbsp; (Such a feature would be more or less the complement of the existing <font face="Courier New, Courier, mono">--ignore-matching-lines=<i>regexp</i></font> (<font face="Courier New, Courier, mono">-I <i>regexp</i></font>) command line option to <font face="Courier New, Courier, mono">diff</font>.)<br>
</font></div>

<div><font size="3"><br>
</font></div>

<div><font size="3">Please let me know if there already is way to accomplish this using existing options to GNU <font face="Courier New, Courier, mono">diff</font> and/or by the use of other GNU Diffutils.<br>
</font></div>

<div><font size="3"><br>
</font></div>

<div><font size="3">-Michael Aramini</font></div>

<div><font size="3"><br>
</font></div>
</font>
------=_Part_8378346_1775390653.1553117359552--




Acknowledgement sent to Michael Aramini <m.aramini@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-diffutils@HIDDEN. Full text available.
Report forwarded to bug-diffutils@HIDDEN:
bug#34930; 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.