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.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 3.0.3+
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages wdiff depends on:
ii  dpkg                      1.15.8.11      Debian package management system
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 
ii  libc6                     2.11.2-10      Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-5 shared libraries for terminal hand

wdiff recommends no packages.

wdiff suggests no packages.

-- no debconf information



-- 
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