view example/Miller_Rabin/run.sh @ 1786:ba6ffc679a8f draft

minor fix
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Sat, 30 Nov 2013 21:06:44 +0900
parents 08d81be1c6e4
children
line wrap: on
line source

#!/bin/zsh

a=1
while [ $a -le 24 ]
do
	b=0
	while [ $b -le 5 ]
	do
		echo -n "CPU_NUM $a "
		(time $* -cpu $a) 1>/dev/null
		b=`expr $b + 1`
	done
	a=`expr $a + 1`
done