#!/bin/bash if [ "$1" != "" ] ; then loop=$1 else loop=99999 fi i=0 while [ $i -lt $loop ] ; do i=$(($i + 1)) mysql -B test <