#/bin/bashfor STYLE in 0 1 2 3 4 5 6 7; do for FG in 30 31 32 33 34 35 36 37; do for BG in 40 41 42 43 44 45 46 47; do CTRL="\033[${STYLE};${FG};${BG}m" echo -en "${CTRL}" echo -n "${STYLE};${FG};${BG}" echo -en "\033[0m" done echo done echodone# Resetecho -e "\033[0m"
来源:
posted on 2017-03-04 21:11 阅读( ...) 评论( ...)