Янв 212013
 

Недавно научился делать вот так:

status_report()
{
echo -en "\e[33;44m"< -->< ------>< ------># bacground to blue
echo
echo "-----------------------------"
echo "Report"
echo -e "Stack Pointer = \e[1;34m$SP"< -># Colot set to blue
tput sgr0< ----->< ------>< ------>< ------># terminal restored
echo -en "\e[33;44m"
echo -e "last element = \e[1;31m$data" ># Color set to red
tput sgr0< ----->< ------>< ------>< ------># terminal restored
echo -en "\e[33;44m"
echo -n "-----------------------------"
tput sgr0< ----->< ------>< ------>< ------># terminal restored
}

Что это дает?
А вот что…
Continue reading »