Renat Golubchyk wrote:
Hi!

On Monday 15 December 2003 04: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?



Try this one (everything in one line):

for pack in $(find /var/db/pkg/ -type f -name IUSE -exec grep -l 'alsa' '{}' ';' |sed 's#IUSE$#USE#'); do grep -l '\-alsa' $pack; done |sed 's#.*pkg/\(.*\)-[0-9].*/USE#\1#'

Ding ding ding! Congrats, you got it!


-- Joel Konkle-Parker Webmaster [Ballsome.com]

Phone     [+1 662-518-1636]
E-mail    [EMAIL PROTECTED]

Attachment: pgp00000.pgp
Description: PGP signature



Reply via email to