* Charles Plessy <ple...@debian.org>, 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 debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130227202546.ga5...@jwilk.net

Reply via email to