* Charles Plessy <[email protected]>, 2013-02-27, 23:00:
Using grep-dctrl, I tried the following command (with contortions to avoid the po directory and the README).

   find . -maxdepth 1 -type f |
     xargs grep -l '^Task:' |
     xargs grep-dctrl --exact-match -FSection l10n \
                      --and \
                      --exact-match -FEnhances desktop \
                      -sTask -n

Unfortulately, this only returns me the tasks that enhance the desktop task and nothing else, like in the following.

   Task: british-desktop
   Test-lang: en_GB
   Enhances: desktop
   Section: l10n
   Key:
     task-british-desktop

However, if I relax the search, I also get tasks that enhance gnome-desktop, like the following:

   Task: japanese-gnome-desktop
   Enhances: gnome-desktop, japanese-desktop
   Section: l10n
   Key:
     task-japanese-gnome-desktop

Does anybody know a workaround ?

You probably want --whole-pkg instead of --exact-match. (But beware that --whole-pkg implies -e.)

See also #383921.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to