GNU bug report logs - #33813
GNU diffutils 3.6 – 'diff -y' – Several mark types used as separators instead of one – Inappropriate options combinations

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; Reported by: Ricky Tigg <ricky.tigg@HIDDEN>; dated Thu, 20 Dec 2018 15:12:02 UTC; Maintainer for diffutils is bug-diffutils@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 20 Dec 2018 15:11:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 20 10:11:06 2018
Received: from localhost ([127.0.0.1]:56653 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gZzyc-0004Xo-6o
	for submit <at> debbugs.gnu.org; Thu, 20 Dec 2018 10:11:06 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41018)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ricky.tigg@HIDDEN>) id 1gZzya-0004XH-4w
 for submit <at> debbugs.gnu.org; Thu, 20 Dec 2018 10:11:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ricky.tigg@HIDDEN>) id 1gZzyU-0006vY-8C
 for submit <at> debbugs.gnu.org; Thu, 20 Dec 2018 10:10:58 -0500
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,FREEMAIL_FROM,
 HTML_MESSAGE autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50611)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ricky.tigg@HIDDEN>)
 id 1gZzyU-0006vO-3t
 for submit <at> debbugs.gnu.org; Thu, 20 Dec 2018 10:10:58 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50604)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ricky.tigg@HIDDEN>) id 1gZzyQ-0003lM-UM
 for bug-diffutils@HIDDEN; Thu, 20 Dec 2018 10:10:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ricky.tigg@HIDDEN>) id 1gZzyP-0006sF-Sw
 for bug-diffutils@HIDDEN; Thu, 20 Dec 2018 10:10:54 -0500
Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]:37016)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <ricky.tigg@HIDDEN>)
 id 1gZzyO-0006r1-4b
 for bug-diffutils@HIDDEN; Thu, 20 Dec 2018 10:10:52 -0500
Received: by mail-oi1-x22e.google.com with SMTP id y23so2121471oia.4
 for <bug-diffutils@HIDDEN>; Thu, 20 Dec 2018 07:10:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=aaTiDk3AjAGmles1iwVCtExQPXIdh/2HTlKg5BzdQmQ=;
 b=na8RHVya/McRSEoPLT8513vFlld2WdV2WHByouG4SXpZbWryUl+Q+BsoIijGDfvU5J
 f1JFyTymPXmanht5XmGR33EBYd9vgEmskIA4OcZ3AOq/B71OgSsQzek/CGfKvm49Ug/3
 lvqamJSzNEzxbXynU//1ZafFHHqU+jkHgkkp5mazTiOP5NxPHaCEXUbcY2MMbvITrkQa
 fVpPjlrqexL5MvK3US2gTRbmQXgF86VldhQOciLXbiHPpvIp0BnvAPgoBhgaDRpQZ5qy
 Xhj75Bh9aqb3BEhUJwtCHwjMwS/EaA7iAW6ig2qnJge9oAuLDg8Cm203++V/632x1zJr
 oxPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=aaTiDk3AjAGmles1iwVCtExQPXIdh/2HTlKg5BzdQmQ=;
 b=jKMXkPSa2qNjWqhg8oKTXuElnZbg6im/o5w/p4QtDrzr+EjU6U8aM8YWh9E8oR0JQN
 oIucA0uwFq5MVuf4NQ2EUNVf5kUt/lp9BWybJV8bGIPZNsvW6MYVlC/c8t/M3yYLkmN6
 Zvs7nZQdf2wPPkLR9JFGuqjVMVAgsDtcBhjN9Nl9SO/yiRpz1KG+qXBtE28YBkiARkw6
 ihdMvKg2fkxHLraWkexeFe4p+14vOPxqwDlDdY2vau69CKyGWMEJzZrr+qN3SsY22ivF
 OlqstXi4vdfu9QGX+/wXfdDbQ1RsAadE886j1KnrHsdh6XcPXtuzOP69Viat0hMTJmiS
 yxsw==
X-Gm-Message-State: AA+aEWYQFR8NpMYHL+NeHMXpxIfZtrUrc1uaB4NBEI6VNHmYYLpj+oHP
 f0p38n7FAzM6PfllLR9ehRPlSLBFxtV+rD85XSL2wbjm
X-Google-Smtp-Source: AFSGD/UPP4B9UdVbEdbhvyCGLprY86QuqNLycqnEPMgylYCvpXDBLGqP9JkKjw2KEIJ1/NteZBqHeAJUDztrz+/pvKU=
X-Received: by 2002:aca:720a:: with SMTP id p10mr2481501oic.169.1545318650935; 
 Thu, 20 Dec 2018 07:10:50 -0800 (PST)
MIME-Version: 1.0
From: Ricky Tigg <ricky.tigg@HIDDEN>
Date: Thu, 20 Dec 2018 16:10:39 +0100
Message-ID: <CAM_8-Ch_ESJCac5Dbt8P1SJLm0m95CTyVvRfTDdnESNGwu=GWA@HIDDEN>
Subject: =?UTF-8?Q?GNU_diffutils_3=2E6_=E2=80=93_=27diff_=2Dy=27_=E2=80=93_Several_mark_typ?=
 =?UTF-8?Q?es_used_as_separators_instead_of_one_=E2=80=93_Inappropriate_optio?=
 =?UTF-8?Q?ns_combinations?=
To: bug-diffutils@HIDDEN
Content-Type: multipart/mixed; boundary="000000000000418297057d75890d"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
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: -5.0 (-----)

--000000000000418297057d75890d
Content-Type: multipart/alternative; boundary="000000000000418295057d75890b"

--000000000000418295057d75890b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi *bug-diffutils@HIDDEN <bug-diffutils@HIDDEN>* subscribers.

   - Case 1

Commands executed:
$ echo - > a1 && echo + > a2
$ diff -y a1 a2
-                                  |    +

Both terminal,  from which patterns are *copied*, and text editor document,
to which pattern is *pasted *=E2=80=93 *see attachment* =E2=80=93, use mono=
-space font.
Output resulting from 'diff -y a1 a2' contains *tabular* and *point *marks
in the same row as separators between left'-sided column and right'-sided
column. Would it be suitable according to developers to produce separators
relying on a unique mark =E2=80=93 *tabular* or *point* =E2=80=93 ?

   - Case 2

As noticeable, the tool *Diff *allows for *options combinations* that
cannot cohabit together because of their very features. A way for *Diff* to
avoid handling such combinations would be appropriate. Here is an
illustration of such combinations:

$ diff -qsy a1 a2
Files a1 and a2 differ
$ diff -yqs a1 a2
Files a1 and a2 differ
$ diff -qys a1 a2
Files a1 and a2 differ

Regards, R.T.

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

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div>Hi <i><a href=3D"mailto:bug-diffutils@HIDDEN">bug-diffutils=
@gnu.org</a></i> subscribers. <br></div><div></div><div><ul><li>Case 1</li>=
</ul></div><div>Commands executed:</div><div><span style=3D"font-family:mon=
ospace,monospace">$ echo - &gt; a1 &amp;&amp; echo + &gt; a2<br>$ diff -y a=
1 a2<br>-=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=
=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0 +</span></div><div><br></div><=
div></div><div>Both terminal,=C2=A0 from which patterns are <i>copied</i>, =
and text editor document, to which pattern is <i>pasted </i>=E2=80=93 <i>se=
e attachment</i> =E2=80=93, use mono-space font. Output resulting from &#39=
;<span style=3D"font-family:monospace,monospace">diff -y a1 a2</span>&#39; =
contains <b>tabular</b> and <b>point </b>marks in the same row as separator=
s between left&#39;-sided column and right&#39;-sided column. Would it be s=
uitable according to developers to produce separators relying on a unique m=
ark =E2=80=93 <b>tabular</b> or <b>point</b> =E2=80=93 ? <br></div><div></d=
iv><div><ul><li>Case 2</li></ul></div><div>As noticeable, the tool <i>Diff =
</i>allows for <b>options combinations</b> that cannot cohabit together bec=
ause of their very features. A way for <i>Diff</i> to avoid handling such c=
ombinations would be appropriate. Here is an illustration of such combinati=
ons:</div><div><br></div><div><span style=3D"font-family:monospace,monospac=
e">$ diff -qsy a1 a2<br>Files a1 and a2 differ<br>$ diff -yqs a1 a2<br>File=
s a1 and a2 differ<br>$ diff -qys a1 a2<br>Files a1 and a2 differ<br></span=
></div><div></div><div><br></div><div>Regards, R.T.<br></div></div></div></=
div></div></div>

--000000000000418295057d75890b--

--000000000000418297057d75890d
Content-Type: image/png; 
	name="diffutils.x86_64_v.3.6_Option_y_Font_mono-space.png"
Content-Disposition: attachment; 
	filename="diffutils.x86_64_v.3.6_Option_y_Font_mono-space.png"
Content-Transfer-Encoding: base64
Content-ID: <f_jpwpebva0>
X-Attachment-Id: f_jpwpebva0

iVBORw0KGgoAAAANSUhEUgAAAcIAAAApCAYAAACm7CmwAAAABHNCSVQICAgIfAhkiAAAABl0RVh0
U29mdHdhcmUAZ25vbWUtc2NyZWVuc2hvdO8Dvz4AAAtwSURBVHic7d17TJPnHgfw70ulpAW5dlTA
cRlXM8hRyOLiJEODTLbpFAxjE1BxSuYMboepYOQ4MgcEt/2xZF5HvDG8zGMMesJ2OIDbKhsqc8OO
AwpOnUckWgSsBcvlOX+YdXZtoTd4eeH3SZrY9336/L7lRZ4+76UvxxhjIIQQQiYpB74DEEIIIXyi
gZAQQsikNuJAmJaWhrKyMrsWPXv2LDiOQ3Nzs8G6+Ph4REZGDvv6jo4OvPHGG/Dx8YGjoyPc3d2x
detWq9sRQgiZvKYYW6hSqZCbm4vKykq0t7fjq6++wkcffYRNmzZh1apVoxpoyZIl6OnpGbZNbm4u
Tp8+jcLCQkRERMDBwQFyudzqdkK3bt067Nq1C3fv3oVMJhvVWt988w0++OADKJVKuLi4IDY2FkVF
RQgODta16dQMoKD6Nuquq9HzaFDv9Vvm+WBFzOhmJIQQSxgdCNesWYMrV67g+PHj+OSTTxAbG4vB
wUGsXr0afn5+SEhIGLVA69evH7HNhQsXkJ6ejuzsbLu0EyKNRoOffvoJJSUlUCgUY1Kzvr4er776
KlJTU1FUVASVSoWtW7di4cKFUCqVcHJyAgAUVN/G1y3dAAB/dzGq3grHtqr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u0YJIYRMajQQEkIImdRoICSEEDKp0UBICCFkUvs/LUQt
ndJLEy4AAAAASUVORK5CYII=
--000000000000418297057d75890d--




Acknowledgement sent to Ricky Tigg <ricky.tigg@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-diffutils@HIDDEN. Full text available.
Report forwarded to bug-diffutils@HIDDEN:
bug#33813; 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.