The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sh, Bourne Problem with getting lines in a file kdyzsa Shell Programming and Scripting 1 05-09-2008 12:28 AM
Bourne Script help Pits Shell Programming and Scripting 2 09-06-2007 03:15 AM
bourne script help Heedunk Shell Programming and Scripting 1 02-05-2004 08:49 PM
simple Bourne problem pnxi Shell Programming and Scripting 5 09-09-2003 09:33 AM
bourne mail script problem Priest_Ridden Shell Programming and Scripting 6 12-12-2001 01:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-30-2006
raj1811 raj1811 is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 1
Post please give a bourne script to this problem

Hello all,
I am new to unix and having the below problem.Any help will be appreciated.

Write a Bourn shell script dTOe which takes as an input any number
between 0 and 999 and prints the English value for this number. The
program should display an error message when a NOT digit value entered.

Sample:

$dTOe 234

TWO HUNDRED AND THIRTY FOUR

$dTOe 199

ONE HUNDRED AND NINETY NINE
Thanks in advance
  #2 (permalink)  
Old 09-30-2006
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,229
See the rules:

(6) Do not post classroom or homework problems.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:52 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0