success(){ local txtgrn=$(tput setaf 2) # Green local txtwht=$(tput setaf 7) # White local msg=$*; echo "$txtgrn $msg $txtwht" } success $1