1 |
sorry .. ment that to be a list_reply |
2 |
|
3 |
* Thanh Ly [lycander@×××××××.com] [2003-09-03 01:53 -0400]: |
4 |
|
5 |
> I'm a C++ junkie, if this can be done easier in a scripting language, |
6 |
> great, maybe someone else will come up with the script. |
7 |
|
8 |
Off the top of my head .. tested in zsh |
9 |
|
10 |
# find KEYWORDS="ppc" |
11 |
for i in `find /usr/portage/${my_target_subdir} -name "*.ebuild" -print` ; |
12 |
do egrep -l "^KEYWORDS=\".+[^~-]ppc.*\"" $i ; |
13 |
done |
14 |
|
15 |
# find KEYWORDS="~ppc" |
16 |
for i in `find /usr/portage/${my_target_subdir} -name "*.ebuild" -print` ; |
17 |
do egrep -l "^KEYWORDS=\".+~ppc.*\"" $i ; |
18 |
done |
19 |
|
20 |
best |
21 |
|
22 |
cal |
23 |
|
24 |
-- |
25 |
gentoo-ppc-dev@g.o mailing list |