标签:
1 #!/bin/bash 2 3 for i in {1,2,3,4,5,6,7,8,9} 4 do 5 for((j=1;j<=i;j++)) 6 do 7 ((product=$i*$j)) 8 echo -ne "\033[47;30m$i"x"$j=$product\033[0m\t" 9 done 10 echo 11 done
shell编程--九九乘法表
原文地址:http://www.cnblogs.com/liangdalong/p/5980602.html