打印彩虹-《shell脚本》

admin 2025-11-06 14:22:29 系统网络 来源:ZONE.CI 全球网 0 阅读模式
    1. declare -a ary
    2. for i in `seq 40 49`
    3. do
    4. ary[$i]=" "
    5. echo -en "\e[$i;5m ${ary[@]}\e[;0m"
    6. done
    7. declare -a ary
    8. for s in `seq 1 10000`
    9. do
    10. for i in `seq 40 49`
    11. do
    12. ary[$i]=" "
    13. echo -en "\e[$i;5m ${ary[@]}\e[;0m"
    14. done
    15. done
    weinxin
    版权声明
    本站原创文章转载请注明文章出处及链接,谢谢合作!
    评论:0   参与:  0