wdiff-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[wdiff-bugs] Bug#650792: excess spaces in wdiff of column-based files (f


From: Santiago Vila
Subject: [wdiff-bugs] Bug#650792: excess spaces in wdiff of column-based files (fwd)
Date: Sun, 26 Feb 2012 13:43:29 +0100 (CET)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

Hello.

I received this from the Debian BTS (this is the last one for now).
I've checked and wdiff 1.1.0 still behaves the same.

Thanks.

---------- Forwarded message ----------
From: Alan Curry <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Date: Fri, 02 Dec 2011 23:47:33 -0500
Subject: Bug#650792: excess spaces in wdiff of column-based files
Resent-Sender: Santiago Vila <address@hidden>

Package: wdiff
Version: 0.6.3-1
Severity: normal
Tags: upstream


wdiff produces some strange-looking output when comparing text aligned in
columns.

$ cat file1
A         B
AA        B
AAA       B
AAAA      B
AAAAA     B
AAAAAA    B
AAAAAAA   B
AAAAAAAA  B
AAAAAAAAA B
$ cat file2
A         C
AA        C
AAA       C
AAAA      C
AAAAA     C
AAAAAA    C
AAAAAAA   C
AAAAAAAA  C
AAAAAAAAA C
$ wdiff file1 file2
A         [-B-]         {+C+}
AA        [-B-]        {+C+}
AAA       [-B-]       {+C+}
AAAA      [-B-]      {+C+}
AAAAA     [-B-]     {+C+}
AAAAAA    [-B-]    {+C+}
AAAAAAA   [-B-]   {+C+}
AAAAAAAA  [-B-]  {+C+}
AAAAAAAAA [-B-] {+C+}
$

I can't think of any reasoning that supports the need for multiple spaces
after the [-B-], since the actual spaces in the input file are only to the
left of the B.

[...]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]