view scripts/ring_experiment.sh @ 140:b51d3bf971e7 working

add function (refresh)
author sugi
date Thu, 20 Sep 2012 01:32:46 +0900
parents f60c0246c8ce
children
line wrap: on
line source

#!/bin/bash

cnt=$1 # start num
d=$2   # diff
max=$3 # max num

while [ $cnt -lt $max ]
do
    ./ring_run.sh 10 $cnt
    cnt=`expr $cnt + $d`
done
wait