[Dctrl-tools-devel] Bug#498360: -X <pattern> doesn't match
Loïc Minier
lool at dooz.org
Tue Sep 9 12:04:59 UTC 2008
Package: dctrl-tools
Version: 2.13.0
Severity: minor
Hi there,
% grep-status -n -s Package -X -P gedit
gedit
% grep-status -n -s Package gedit
gedit-common
gnome-core
gedit
gedit-plugins
gedit-dev
% grep-status -n -s Package -X gedit
<empty>
I'd have expected the last command to match "Package: gedit" in all
fields.
I think this a bug in the parser, it might be that it tries matching
the whole list of fields and not field by field?
This doesn't work either:
echo "Package: gedit" | grep-dctrl -n -s Package "Package: gedit"
But this works:
% echo "Package: gedit" | grep-dctrl -n -X -s Package "Package: gedit
"
gedit
NB: embedded newline in the last pattern
Cheers,
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.27-rc5-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dctrl-tools depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
dctrl-tools recommends no packages.
Versions of packages dctrl-tools suggests:
ii apt 0.7.14+b1 Advanced front-end for dpkg
ii debtags 1.7.7 Enables support for package tags
-- no debconf information
--
Loïc Minier
More information about the Dctrl-tools-devel
mailing list