Package: dctrl-tools
Version: 2.12
Severity: wishlist

Hello.

Frequently, I find my self wanting to do an exact match for a package
name contained in a multi-word field, e.g. Depends.

To ensure I'm not matching sub-words, I'm doing something like:

  % grep-dctrl -F Depends -e '(^| )package([, ]|$)'

Which is a tad inconvenient. I would like something like:

  % grep-dctrl --package-word -F Depends package

The option name needs work, and a short option would be ideal. I don't
know if it'd be good to use -w (similarly to grep's own -w), since I'm
explicitly asking for package-name boundaries, and not word-boundaries
(since package names can contain stuff like dash and dot).

Thanks,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                             Listening to: Alanis Morissette - You learn



Reply via email to