#!/bin/bash
/usr/bin/clear
echo -e "\nPrograma de Prueba"
echo "Oscar Carrascosa Blanco"
echo -e "Alias: deckerix\n"
echo "Visita el mundo de deckerix "
echo "------------------------------------"
opcion="ninguna"
function opcion1
{
echo -e "\n en la opcion1 \c"
read
return 0
}
function opcion2
{
echo -e "\n en la opcion1 \c"
read
return 0
}
function opcion3
{
echo -e "\n en la opcion1 \c"
read
return 0
}
function opcion4
{
echo -e "\n en la opcion1 \c"
read
return 0
}
while [ $opcion != "5" ]
do
echo -e "\nMenu"
echo -e "\t1) Tirar una tarta a Bill Gates"
echo -e "\t2) Leer el marca"
echo -e "\t3) Tocar la trompeta"
echo -e "\t4) Hacer algo"
echo -e "\t5) Salir de la herramienta\n"
echo -e "\tOpcion: \c"
read opcion
if [ -z $opcion ] ; then opcion="ninguna" ; fi
case $opcion in
"1" )
opcion1
;;
"2" )
opcion2
;;
"3" )
opcion3
;;
"4" )
opcion4
;;
* )
;;
esac
/usr/bin/clear
done
echo -e "\n\nBBBBBB YY YY EEEEEEE"
echo "BB BBB YY YY EE "
echo "BB BBB YYY EE "
echo "BBBBBB YYY EEEEEE "
echo "BB BBB YYY EE "
echo "BB BBB YYY EE "
echo -e "BBBBBB YYY EEEEEEE\n\n"