shell 颜色输出
tags: 艺术
- color.sh
#!/usr/bin/env bash for c in 90 31 91 32 33 34 35 95 36 97; do echo -en "\r \e[${c}m LOVE \e[0m " sleep 1 done
执行:
tags: 艺术
#!/usr/bin/env bash for c in 90 31 91 32 33 34 35 95 36 97; do echo -en "\r \e[${c}m LOVE \e[0m " sleep 1 done
执行: