summaryrefslogtreecommitdiff
blob: 0ed8ba1571fcc55651ee90cdbc54b770275ba7f7 (plain)
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\]' | sort -u | \
    xargs -n1 qatom | \
    cut -d ' ' -f 1-2 | \
    tr ' ' '/' | \
    uniq