#Instance_x01_w04_02-rob_32x32.cfg

src=x01_w04_02;

i=1;

while test ${i} -le 256; do
    j=1;

    while test ${j} -le ${i}; do
     
        dest=x01_w04_02-rob_${i}x${j};

        echo ${dest}
        sed s/${src}/${dest}/ ${src}.cfg > Dhrystone-${dest}.cfg

        j=$((${j}*2));
    done;
    i=$((${i}*2));
done;