Use and complete the template provided. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Hi, I am creating the phonebook shell script to store the name, number and address of the people. I am stuck in one point.I have done to add new user, list user and delete the user. But i don't know how to edit. My file in store in the file phonebook.txt. It is in the format title:name

hone1

hone2:address1:address2:groups. I need to edit the particular entry of that file. How can i do that? is there particular command. please help. Thanks in advance..
2. Relevant commands, code, scripts, algorithms:
echo "*********************"
echo "MENU"
echo "*********************"
echo "1. Add new entries"
echo "2. Show all entries"
echo "3. Search for entries"
echo "4. Edit existing entries"
echo "5. Delete existing entries"
echo "6. Exit"
echo "Please enter your choice:"
read choice
case $choice in
1) addrecord;;
2) showall;;
3) searchrecord;;
4) delete;;
5) edit
esac
3. The attempts at a solution (include all code and scripts):
4. School (University) and Course Number:
JCU