标签:$1 success $2 ext echo pre 意思 shell ESS
Color_Text()
{
echo -e " \e[0;$2m$1\e[0m"
}
Echo_Red()
{
echo $(Color_Text "$1" "31")
}
Echo_Green()
{
echo $(Color_Text "$1" "32")
}
Echo_Yellow()
{
echo $(Color_Text "$1" "33")
}
Echo_Blue()
{
echo $(Color_Text "$1" "34")
}
Echo_Red ‘Success!!!‘;
优点意思!!!
标签:$1 success $2 ext echo pre 意思 shell ESS
原文地址:https://www.cnblogs.com/jiqing9006/p/13083410.html