1 |
On Sun, Jan 4, 2009 at 9:38 PM, Ciaran McCreesh |
2 |
<ciaran.mccreesh@××××××××××.com> wrote: |
3 |
> On Sun, 4 Jan 2009 21:34:18 +0530 |
4 |
> "Nirbheek Chauhan" <nirbheek.chauhan@×××××.com> wrote: |
5 |
>> How about this: |
6 |
> |
7 |
> It's utterly useless. Unlike the existing shortcut forms, what you're |
8 |
> after isn't widely enough used to warrant its own shortcut. Use the |
9 |
> expanded form and have done with it. |
10 |
|
11 |
On the contrary, the reverse of what you say is true. A simple grep of |
12 |
the tree showed that: |
13 |
|
14 |
95 ebuilds do "use\ \([a-zA-Z0-9]\+\).*\&\&.*built_with_use.*\ \1\ " |
15 |
and 937 do "use.*\&\&.*built_with_use" |
16 |
|
17 |
So, one would assume that ~842 ebuilds could make use of the |
18 |
pkg[foo?bar] syntax. |
19 |
|
20 |
Of course, this missed the ebuilds which do |
21 |
|
22 |
if use blah; then |
23 |
built_with_use ... |
24 |
... |
25 |
fi |
26 |
|
27 |
But statistically, these numbers should be accurate. |
28 |
|
29 |
-- |
30 |
~Nirbheek Chauhan |