1 |
Meir, |
2 |
|
3 |
If you're familiar with PCREs, take a look at the following |
4 |
|
5 |
http://bugs.gentoo.org/attachment.cgi?id=11014&action=view |
6 |
|
7 |
This is an attachment to bug 9670 which pertained to the old |
8 |
gentoo-stats. Search in the attachment for get_cpus_alpha. Note: The |
9 |
regex is made up primarily of zero-width forward lookahead assertions to |
10 |
allow the fields to appear in any order in cpuinfo. This technique |
11 |
might be useful to you in your new tool (although your tool might |
12 |
already be advanced well beyond needing such a tweak!) |
13 |
|
14 |
Aron |
15 |
|
16 |
-- |
17 |
Aron Griffis |
18 |
Gentoo Linux Developer (alpha / ia64 / ruby / vim) |
19 |
Key fingerprint = E3B6 8734 C2D6 B5E5 AE76 FB3A 26B1 C5E3 2010 4EB0 |