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
please help immediately infyanurag Linux 4 11-02-2007 10:06 AM
Please respond immediately deepti.1104 Shell Programming and Scripting 3 08-31-2007 03:01 AM
I need help immediately. Please help me Sheethal UNIX for Dummies Questions & Answers 4 07-26-2007 07:11 AM
UIDs being overwritten immediately xsys2000 AIX 2 05-08-2007 02:00 PM
C shell Program Reza Nazarian Shell Programming and Scripting 2 07-28-2003 03:52 PM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-22-2002
praji praji is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 2
Need a Shell Program immediately

Hi Friends,
I need a simple shell script(Linux..bash shell) for the below description. Can anyone help me please. I need it very urgently. That is why
i cannot write it myself.

Objective
Create shell scripts using:
· Simple interactive menus
· Variables, functions
Description
Create a shell script, phone.sh, which maintains a phone book.
Detailed Specifications
The phone book is to be maintained as a single text file, phone.txt.·
phone.txt will be in the same directory as phone.sh.
Each line in the file will correspond with one item in the phone book.
The line will be tab delimited fields in the following format:·
Name PhoneNum Company City

Standard Usage Menu driven: the main menu has the following functions:·
Add item·
Delete item·
Search item (by name)·
List all items

Other features ·
Phone.sh may be run from any directory.
The directory name of phone.txt can not be hard coded.
Use basename/dirname command on $0 to find directory names.·Name and phone# are mandatory.
Use reusable functions for prompting and reading fields. ReadField(label, mandatoryFlag)
 

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 01:20 PM.


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