摘要: 1 #!/bin/bash 2 3 NORMAL=$(tput sgr0) 4 GREEN=$(tput setaf 2; tput bold) 5 YELLOW=$(tput setaf 3) 6 RED=$(tput setaf 1) 7 8 function red() 9 {10 echo -e "$RED$1$NORMAL"11 }12 13 function green()14 {15 echo -e "$GREEN$1$NORMAL"16 }17 18 function yellow()19 {20 echo -e "$YELLO 阅读全文
posted @ 2013-08-20 12:38 么幺 阅读(657) 评论(0) 推荐(0) 编辑