view scripts/ring_experiment.sh @ 100:b01fb5090e28 working

add default code to each case statements
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Thu, 28 Jun 2012 01:50:29 +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