-IFS=' '
-while read email type name url ref build; do
- [[ "$email" =~ '^#.*$' ]] && continue
- tab="\t"
- [ $(echo "$name" | wc -c) -le 8 ] && tab="\t\t"
- [ "${ref%:*}" = "${ref}" ] || ref=${ref##*:}
- [ "$type" = "git" ] && url="$url#$ref"
- printf "%s$tab%s\t%s\n" $name $type $url
- printf "%s$tab%s\n" $name $(git show-ref --verify --hash "refs/next/$d/$name") >> Next/SHA1s
-done <../real_control >>Next/Trees