Loop Over Unique Pairings of Items in Bash

set -- item0 item1 item2
for outer; do
    shift
    for inner; do
        echo "${outer}-${inner}"
    done
done