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