Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> How Do I Use Read With Esac
post Dec 14 2004, 05:49 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 14-December 04
Member No.: 4,335

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

Go to the top of the page
+Quote Post

Posts in this topic
- nosferato   How Do I Use Read With Esac   Dec 14 2004, 05:49 AM

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 18th June 2018 - 01:08 AM