#!/usr/bin/env bash i=0 while [ $i -le 100 ]; do printf "line\n" sleep 1 done