Package: dctrl-tools
Version: 2.14
Severity: normal

When support for comments was added in
https://salsa.debian.org/debian/dctrl-tools/-/commit/2bc3218cf4f70db497b97687b0d4bc3a847ec217
it was known that this was incomplete (missing semantic understanding of
comments) but there doesn't appear to be an open bug tracking this.

Currently grep-dctrl will match on the bodies of comments, which is very
surprising for the user:

grep-dctrl -FBuild-Depends -w bar << EOF
Source: foo
Build-Depends:
  foo,
# bar,
  baz
EOF

This seems like something that should be opt-in, not default behaviour.

SR

Reply via email to