Jason Stubbs wrote:
On Monday 15 December 2003 12:10, Joel Konkle-Parker 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?
Thanks in advance.
# grep -l '-alsa' `find /var/db/pkg/*/*/USE`
That will likely give you *every* package. Try something like:
cd /var/db/pkg
for i in $(grep -l 'alsa' */*/IUSE | cut -d '/' -f 1-2); do grep "\-alsa" ${i}/USE; done
That's what I get for posting without testing. This will work a little better.
for i in $(grep -l 'ssl' */*/IUSE | cut -d '/' -f 1-2); do grep "\-ssl" ${i}/USE > /dev/null && echo ${i}; done
-- Andrew Gaffney
-- [EMAIL PROTECTED] mailing list