Package: ftp.debian.org
Severity: minor

I tried to use grep-dctrl to parse removals-full.822, but it didn't work:

  $ wget -q https://ftp-master.debian.org/removals-full.822
  $ grep-dctrl '' < removals-full.822 > /dev/null
  grep-dctrl: -:208271: expected a colon.

The line in question contains spaces only. This is against a "should" from Policy ยง5.1: "Parsers may accept lines consisting solely of spaces and tabs as paragraph separators, but control files should use empty lines."

Removing the spaces fixes it for me:

  $ sed -i -e 's/^ *$//' removals-full.822
  $ grep-dctrl '' < removals-full.822 > /dev/null
  $ echo $?
  0

--
Jakub Wilk

Reply via email to