Package: colordiff
Version: 1.0.13-1
Severity: minor

Dear Maintainer,

colordiff sometimes fails to colorize the output from wdiff,
specifically when there is a line break in one of the two files. Here
is a sample:

File a:
----------------------------------------
this is a test of colordiff
----------------------------------------

File b:
----------------------------------------
this is an
exam of wdiff
----------------------------------------

wdiff a b:
----------------------------------------
this is [-a test-] {+an
exam+} of [-colordiff-] {+wdiff+}
----------------------------------------

wdiff a b | colordiff | cat (with escapes sanitized):
----------------------------------------
this is ^[[1;31m[-a test-]^[0;0m {+an^[[0;0m
exam+} of ^[[1;31m[-colordiff-]^[[0;0m ^[[1;34m{+wdiff+}^[[0;0m^[[0;0m
----------------------------------------

Note that "an exam" is not colorized correctly.

-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.17.0-rc5 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages colordiff depends on:
ii  perl  5.20.1-2

colordiff recommends no packages.

colordiff 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