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

Previous Next

Package: diffutils;

Reported by: Ricky Tigg <ricky.tigg <at> gmail.com>

Date: Thu, 20 Dec 2018 15:12:02 UTC

Severity: normal

To reply to this bug, email your comments to 33813 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#33813; Package diffutils. (Thu, 20 Dec 2018 15:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricky Tigg <ricky.tigg <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Thu, 20 Dec 2018 15:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricky Tigg <ricky.tigg <at> gmail.com>
To: bug-diffutils <at> gnu.org
Subject: GNU diffutils 3.6 – 'diff -y' – Several mark types used as separators instead of one – Inappropriate options combinations
Date: Thu, 20 Dec 2018 16:10:39 +0100
[Message part 1 (text/plain, inline)]
Hi *bug-diffutils <at> gnu.org <bug-diffutils <at> gnu.org>* 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 *– *see attachment* –, 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 – *tabular* or *point* – ?

   - 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.
[Message part 2 (text/html, inline)]
[diffutils.x86_64_v.3.6_Option_y_Font_mono-space.png (image/png, attachment)]

This bug report was last modified 6 years and 177 days ago.

Previous Next


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