#!/usr/bin/env bash for i in {1..5}; do curl -s http://whatthecommit.com/index.txt || exit 1 echo "%" done