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#'
Cheers,
Renat
--
[EMAIL PROTECTED] mailing list
