#!/bin/bash

if [ $# -ne 2 ]; then
  echo "Usage: `basename $0` <message> <repeat count>"
  exit 1
fi

for i in `seq 1 $2`
do
  echo $1
  sleep 1
done
exit 0
