view scripts/ring_experiment.sh @ 327:235f6d0994df

change algorism
author sugi
date Tue, 11 Feb 2014 15:47:14 +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