Package: wdiff
Version: 1.2.2-2+b1
Severity: normal

On the diff file (also attached)

--- a
+++ b
@@ -1,7 +1,6 @@
 1a
 2a
 3a
-c e f g h i j k l m n o
 5a
 6a
 7a
@@ -9,6 +9,7 @@
 1b
 2b
 3b
+c d e f g h i j k l m n p
 5b
 6b
 7b

the command "wdiff -d" outputs

[--- a-]{+++ b+}
@@ -1,7 +1,6 @@
1a
2a
3a
{+5a
6a
7a
@@ -9,6 +9,7 @@
1b
2b
3b+}
c {+d+} e f g h i j k l m n [-o
5a
6a
7a
@@ -9,6 +9,7 @@
1b
2b
3b-] {+p+}
5b
6b
7b

and "wdiff -n -d" outputs

[--- a-]{+++ b+}
@@ -1,7 +1,6 @@
1a
2a
3a
{+5a+}
{+6a+}
{+7a+}
{+@@ -9,6 +9,7 @@+}
{+1b+}
{+2b+}
{+3b+}
c {+d+} e f g h i j k l m n [-o-]
[-5a-]
[-6a-]
[-7a-]
[-@@ -9,6 +9,7 @@-]
[-1b-]
[-2b-]
[-3b-] {+p+}
5b
6b
7b

which are both invalid (as "@@ -9,6 +9,7 @@" is regarded as text)
instead of

[--- a-]{+++ b+}
@@ -1,7 +1,6 @@
1a
2a
3a
[-c e f g h i j k l m n o-]
5a
6a
7a
@@ -9,6 +9,7 @@
1b
2b
3b
{+c d e f g h i j k l m n p+}
5b
6b
7b

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

Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wdiff depends on:
ii  libc6      2.28-5
ii  libtinfo6  6.1+20181013-1

wdiff recommends no packages.

Versions of packages wdiff suggests:
ii  wdiff-doc  1.2.2-2

-- no debconf information
--- a
+++ b
@@ -1,7 +1,6 @@
 1a
 2a
 3a
-c e f g h i j k l m n o
 5a
 6a
 7a
@@ -9,6 +9,7 @@
 1b
 2b
 3b
+c d e f g h i j k l m n p
 5b
 6b
 7b

Reply via email to