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 <pac...@kosh.dhis.org>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
Date: Fri, 02 Dec 2011 23:47:33 -0500
Subject: Bug#650792: excess spaces in wdiff of column-based files
Resent-Sender: Santiago Vila <sanv...@master.debian.org>

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.

[...]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to