User Tools

Site Tools


user:jlapham1:portfolio:unixproject1:tc
sleep 10
for((i=0;i<100;i++)); do
	x=$((${RANDOM}%100))
	if((x<15)); then
	xte "key l"
	fi
	if((x>14&&x<30)); then
	xte "str ll"
	fi
	if((x>29&&x<45)); then
	xte "key j"
	fi
	if((x>44&&x<60)); then
	xte "str jj"
	fi
	if((x>59&&x<90)); then
	xte "key k"
	fi
	if((x>89)); then
	xte "key space"
	fi
	if((((i%5))==0)); then
	xte "usleep $((${RANDOM}%2500+2500))"
	fi
done
user/jlapham1/portfolio/unixproject1/tc.txt · Last modified: 2013/12/12 22:46 by jlapham1