A phone book like script where you can save name & number of a contact.

Here is the link to the source code on github.
Short Description
This bash script consists of six main functions.
Phone_book:
This is the main checks the user input option “-option” if the input is correct it goes to the next function, if not it displays an error message. Note: you could run the script bu using “phonebook -i,-v,-s,-e,-d” and it will jump to the needed function
Delete:
This function removes a contact using the name of that contact if the name is similar for multiple contacts it shows all the similar options and asks the user to choose the correct one.
Erase:
This function erases all the contacts from the phone book.
Insert:
This function adds a contact by asking for the name and a number or multiple numbers. If the name already exists it shows an error message, also if the number contains letter it shows an error message.
Search:
This function views only one contact if found in the database.
View:
This function views all contacts which are saved.
Note: the contacts are saved in a section within the script rater than using an external text file.