On Thursday 09 March 2006 23:50, Bo Andresen wrote:
> In /var/lib/portage/world there is a list of all of all software that you
> have explicitly installed. The rest of what is installed should be
> depencies of packages in the world file. So to get a list of packages that
> I installed I would use (this is only one line):
> #while read pkg; do eix --force-color --compact ^${pkg}$ | head -n 1; done
> < /var/lib/portage/world

Heh.. this one is better ;) :
# cat /var/lib/portage/world | awk -F\/ '{system("eix -F -C "$1" -e "$2" -c | 
head -n 1")}'

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list

Reply via email to