Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Touch a new file called Address_Book.txt This file will consist of 4 comma-separated flelds: Name, Phone, Email, Address Create a script with 4 names: Address,
Touch a new file called Address_Book.txt This file will consist of 4 comma-separated flelds: Name, Phone, Email, Address Create a script with 4 names: Address, Phone, Email, Contacts. Do this via links. Address > searches for a string argument and displays Names with their addresses for entries that match the search string. Phone searches for a string argument and displays Names with their phone numbers for entries that match the search string. Emall searches for a string argument and displays Names with their email addresses for entries that match the search string. Contacts does several things: Contacts Searches for a string and outputs full records for any line that matches the string. Contacts -a address, -m email, - - phone Name Adds a new user Name with any or all of the three fields Contacts m-a address, m email, -p phone Name Modifies a record Name with any or all of the 3 fields Name must match the entire name field Contacts - d Name Deletes a record, Name must match the entire name field. Contacts V Edit the dat file. For the search versions of the command, > is searched in all fields. If you just want to search particular fields you can use +a for address, te for email and +p for phone fleld. Start with no errors: 50 pts. Links are working and used within the script, 20. Each of the 8 functions described above 15 each. 10 for any additional functionality. This is not a menu. It is a script to be run as a line command. If you want to do the same functionality as a menu instead, that is ok
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started