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
Full log
View this message in rfc822 format
[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 178 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.