[Dctrl-tools-devel] Bug#715024: dctrl-tools: Surprising behaviour of -w -P

Christopher Huhn, GSI C.Huhn at gsi.de
Fri Jul 5 15:06:03 UTC 2013


Package: dctrl-tools
Version: 2.22.2
Severity: minor

Hi *,

I just stumbled upon "grep-available -w -P libstdc++6" not finding any package. 

Obviously '+' signs are not treated as literals but regex operators and consequently
"grep-available -w -P 'libstdc\+\+6'" properly locates the package.
"grep-available -X -P libstdc++6" works as anticipated by me.

Is this the expected behaviour? 
If so maybe the manpage should be a bit more verbose about the exact semantics 
(and possible use) of -w.

Cheers,
	Christopher

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

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

dctrl-tools recommends no packages.

Versions of packages dctrl-tools suggests:
ii  apt      0.9.7.9
pn  debtags  <none>

-- debconf-show failed



More information about the Dctrl-tools-devel mailing list