1 |
Am 07.09.2012 21:52, schrieb Neil Bothwick: |
2 |
> On Fri, 07 Sep 2012 19:26:40 +0200, Michael Hampicke wrote: |
3 |
> |
4 |
>> Well, then this simple little command should help you refresh your |
5 |
>> memory. It shows every install and uninstall of gcc on your system. |
6 |
>> |
7 |
>> With 8 years of emerge.log you are good to go |
8 |
>> |
9 |
>> genlop -ul | grep 'sys-devel/gcc-[0-9]' |
10 |
> |
11 |
> And this week's prize for unnecessary use of pipes and grep goes to... |
12 |
> |
13 |
> genlop -u sys-devel/gcc |
14 |
> |
15 |
> :P |
16 |
> |
17 |
> |
18 |
|
19 |
Nope, we not only need the time when gcc was unmerged (-u), but also |
20 |
when it was merged (-l). When there's little time difference between |
21 |
merge and unmerge we can assume, that portage auto-cleaned the old |
22 |
version of gcc. If you combine -u and -l you need to grep (to be exact |
23 |
sys-devel/gcc-[0-9], because of sys-devel/gcc-config and |
24 |
sys-devel/gcc-apple). |
25 |
|
26 |
Yeehaw cowboy :) :) |