Hi Vincent,

Vincent Lefevre wrote:
> The dgrep(1) man page says:
> 
>   You can use POSIX regular expressions for the package names.
> 
> But
> 
>   dgrep represents 'libc6'
> 
> return matches, while
> 
>   dgrep represents 'libc6.*'
> 
> doesn't.

Thanks for this bug report. These are actually multiple issues:

* Documentation issue in the dgrep man page: dgrep uses dglob for
  pattern matching and that one uses wildcard pattern matching. I've
  fixed this one in git.

* dglob still doesn't work as documented:

~ → dglob libc6
libc6:amd64
libc6:i386
libc6-dbg:amd64
libc6-dev:amd64
libc6-dev-i386:amd64
libc6-dev-x32:amd64
libc6-i386:amd64
libc6-x32:amd64
~ → dglob libc6\*
~ → dglob libc6:\*
grep-dctrl: *scratch*:1: expected a colon.
~ →

I'm now considering the latter the actual bug tracked by this bug
report.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to