1 |
walt writes: |
2 |
|
3 |
> On 08/24/2011 01:05 AM, Yohan Pereira wrote: |
4 |
|
5 |
> > equery belongs /usr/include/plasma/service.h |
6 |
> > |
7 |
> > if you dont have the equery program install it by emerging |
8 |
> > |
9 |
> > app-portage/gentoolkit |
10 |
> |
11 |
> Seems there is always an alternate way of answering any portage question. |
12 |
> I know "qfile service.h" will do the same thing (emerge portage-utils). |
13 |
> |
14 |
> I'll bet there are still more ways that I don't know about yet. Anyone |
15 |
> have a different trick to do the same thing? |
16 |
|
17 |
wonko@weird ~ $ grep -r /usr/include/plasma/service.h /var/db/pkg/ |
18 |
/var/db/pkg/kde-base/kdelibs-4.7.0-r1/CONTENTS:obj |
19 |
/usr/include/plasma/service.h e9ddea9052c900f1f87c57025a0f36f0 1308840546 |
20 |
|
21 |
Emulating qfile as a shell function for nicer output: |
22 |
|
23 |
wonko@weird ~ $ myqfile() |
24 |
> { |
25 |
> grep -r "$1" /var/db/pkg | sed 's#/CONTENTS:.*##g' |
26 |
> } |
27 |
wonko@weird ~ $ myqfile /usr/include/plasma/service.h |
28 |
/var/db/pkg/kde-base/kdelibs-4.7.0-r1 |
29 |
|
30 |
Wonko |