KILLSERVERS=no
shift ;;
-l | -loop)
- NUM="$(echo $2 | sed 's/[0-9]//g')"
+ NUM="`echo $2 | sed 's/[0-9]//g'`"
if [ -z "$NUM" ]; then
LOOP=$2
else
echo "Running ${SCRIPT}..."
while [ $COUNTER -le $LOOP ]; do
+ if [ $LOOP -gt 1 ]; then
+ echo "Running $COUNTER of $LOOP iterations"
+ fi
$SCRIPT $*
RC=$?