Question: Write a bash shell script, named look for that prints the lines in a phone-book that contain the name of the person(s) passed to the


Write a bash shell script, named look for that prints the lines in a phone-book that contain the name of the person(s) passed to the script as input parameter(s). The phonebook is stored in a file named contacts, where each entry is formatted as in the following examples: 04 5990 8768 Bob 08 8337 2443 Takeo 03 5588 8798 Bruce ..etc. Your script must be able to search the phonebook for more than one name, and must not care whether the name is typed in upper- or lowercase letters. For example, the output from the command: look for Bruce Billy Bob Would be: 03 5588 8798 Bruce 04 5990 8768 Bob
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
