Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Programming in Linux _ How Do I Use Read With Esac

Posted by: nosferato Dec 14 2004, 05:49 AM

I know how to do regular the ones

NUM=$(( RANDOM % 10 ))
case $NUM in

0) echo "zero"
1) echo "one"
2 bla bla
3 bla
4 bla
5 bla
6 bla
7 esac

But how do i use the read command in this
i want it to read a number and say it in letters
as when you type 5 it will echo five


Powered by Invision Power Board (
© Invision Power Services (