标签:one env pre print expr done shel exp 乘法
#!/usr/bin/env sh
for ((x=1;x<10;x++));do
for ((y=1;x>=y;y++));do
printf "${y}x${x}=$(expr ${x} \* ${y}) "
done
echo -e "\n"
done
标签:one env pre print expr done shel exp 乘法
原文地址:https://www.cnblogs.com/pydevops/p/13193121.html