阿铭每日一题 day 12 20180122
方法一:
#!/bin/bash #Author: Yang YuanQiang #Blog1: http://aqiang.blog.51cto.com #Blog2: http://www.cnblogs.com/ivan-yang/ #Time: 2018-01-23 14:18:46 #Name: day12_20180122.sh #Version: V1.0 #Description: This is a script. for((i=1;i<=$1;i++)) do for((j=$1;j>i;j--)) do echo -n " " done for m in `seq 1 $i` do echo -n "* " done echo done