[Dctrl-tools-devel] Bug#652034: dctrl-tools: grep-dctrl mishandles paragraphs where a key field occurs more than once

Antti-Juhani Kaijanaho ajk at debian.org
Wed Dec 14 11:47:15 UTC 2011

Package: dctrl-tools
Version: 2.20
Severity: normal

$ cat foobar
Foo: a
Foo: b

$ grep-dctrl -FFoo a foobar   # expect the same result as the next one
$ grep-dctrl -FFoo b foobar
Foo: a
Foo: b

$ grep-dctrl -sFoo -FFoo b foobar # expect two Foo fields
Foo: b

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

Kernel: Linux 3.1.5-ibid-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dctrl-tools depends on:
ii  libc6  2.13-23

dctrl-tools recommends no packages.

Versions of packages dctrl-tools suggests:
ii  apt
ii  debtags  1.7.11

-- no debconf information

More information about the Dctrl-tools-devel mailing list