1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh ( for atom in $@; do wget -q -O- http://tinderbox.dev.gentoo.org/misc/{r,d}index/${atom} done ) | egrep -v '^\[B\]' | \ xargs -n1 qatom | \ cut -d ' ' -f 1-2 | \ tr ' ' '/' | \ sort -u