标签:inpu info for width src 结果 png done com
#!/bin/bash
read -p "input the length: " n
for i in `seq 1 $n`
do
let a=i-1
for m in `seq 0 $a`
do
echo -n " "
done
for ((j=$n;j>=i;j--))
do
echo -n "* "
done
echo
done
结果:
标签:inpu info for width src 结果 png done com
原文地址:https://www.cnblogs.com/z977690557/p/10007505.html