12345678910111213#!/usr/bin/env rcbackground=()for(repo in `{cat downstream}) { echo Updating $repo git -C $repo fetch --all --tags --prune --force & background=($apid $background)}# wait for everything to finishwaitecho Done!