Sale!

ENCS313 Shell Scripting Project –Contact Management System solved

Original price was: $35.00.Current price is: $30.00. $25.50

Category:

Description

5/5 - (4 votes)

Problem Overview:
In this project, you can do the operations like add a new contact of a person with their name (first name
and last name), phone number, address and email. Listing all the contacts which are stored in the
contact file. You can also edit any contact’s name, mobile number, address and also delete any account
you want.
The structure of the file could be like below where the first line represents the name of each field.
Scenario:
1. The program must ask users to enter the name of the contact file
2. The program must raise an error if the file doesn’t exist
3. Then the program must raise a message showing the available operations like the following
screen:
4. The program then prints the result of the operation and return back to the list.
For the first service, the program must validate the input data. For example, the phone number must
contain only numbers with length of 9 or 10 numbers, the email address must contain @ symbol, and
the contact info must at least contain first name and phone number.
For the second service, the program will let the user list the contacts based on the first name or on the
last name. Also, show only the needed fields.
For the third service, the user can search using any field (e.g. aziz) or part of field (e.g. birzeit.edu) or
combination of field (aziz qaroush)
For the forth service, the user can edit any field and save the updated field.
Submission:
Please submit the following:
1. Shell script program
2. Report: the report must include:
a. The code, idea, and a screen shot of each task or stage.
b. At least 2 testing examples.
Notes:
• Write the code for the shell script to satisfy the requirements described above and name the
script as contact.
• Make sure your code is clean and well indented; variables have meaningful names, etc.
• Make sure your script has enough comments inserted to add clarity.
• Work in groups of at most two students
• Deadline: 25 November at 11:59pm. Please submit your project (code + report) through
ITC.
• This project is per group effort (two students per group): instances of cheating will result in you
failing the lab.