On Sun, 14 Dec 2003 22:10:58 -0500 Joel Konkle-Parker <[EMAIL PROTECTED]>
wrote:
| I'm switching over from OSS to ALSA, so I need to find all the
| installed packages that were merged with "-alsa". Is this possible?

for p in `qpkg -v -I -nc` ; do etcat -u $p | grep '^ . - alsa ' >
/dev/null && echo $p | sed 's,\(.*\)-[0-9].*,\1,'; done

It'll take aaaaaaages to run (etcat -u is almost slow enough to be a
KDE utility), but it should work. It needs gentoolkit installed.

This one isn't portage-version sensitive, and it's actually pretty
readable as well.

-- 
Ciaran McCreesh
Mail:    ciaranm at gentoo.org
Web:     http://dev.gentoo.org/~ciaranm

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to