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