Create an addressbook program using the bourne or bourne-again shell. It should use functions to perform the required tasks Users can use the script to store/modify personal information
bash main.sh
The menu will display when the user execute the script. You can execute some task based on the menu.
-----Address Book-----
1. Add
2. Remove
3. Edit
4. Search
5. Show
6. Exit
Address Book [./addressbook]
What to you want to do ?
When the user want to add records. If it appears to be a duplicate, it will edit the existing record. Save the record into the data file when the user confirms.
Usage: add
When the user want to down some records.
Input the name and confirm, then remove the record.
Usage: remove
When the user want to modify some records like phone or e-mail. Input the the old record you want to modify and input the new record you want to replace. Confirm, then edit the existing record.
Usage: edit
When the user forgot some records, he/she can use search to find all information
Input name, the terminal will display the record.
Usage: search
When the user want to see all records.
Usage: show