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