1 2 3 4 5 6
#!/bin/bash cd $(dirname $0) cat .paid-queries | cut -d' ' -f1 | while read DB do ./check-teams.sh $DB done