#!/usr/bin/env bash touch all_branches.txt while read p; do echo "-------------------------------" >> all_branches.txt python check_for_branches.py --model_id ${p} >> all_branches.txt done