This script searches if there is a newer revision (-rX) available. In case a newer revision is found KEYWORDS are gonna be checked as well. If both keywords are the same for both ebuilds the older one is considered as a removal candidate. Data Format ( 6|01865|01311|6|00649|-----|+|dev-libs/foo|foo-1.12-r1|foo-1.12-r2|dev@gentoo.org:loper@foo.de ): 6|01865|01311| EAPI Version (older) | days since created | days since last modified 6|00649|-----| EAPI Version (newer) | days since created | days since last modified + indicates if bugs are open to this package (+=yes, -=no) dev-libs/foo package category/name foo-1.12-r1.ebuild full filename (older) foo-1.12-r2.ebuild full filename (newer) dev@gentoo.org:loper@foo.de maintainer(s), seperated by ':'