Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I was wondering if I could get help running this linux program. Please use putty or similar program to code. You will create a Shell-based
I was wondering if I could get help running this linux program. Please use putty or similar program to code.
You will create a Shell-based Contact List. Keep the info in a flat file that can be edited manually in a text editor with one line per contact, with fields separated by a ':'. It must take the following command line options (in any order - look at getopts.sh): Contact Data options (Required with option -i): f name First Name (1) Last Name (2) Email Address (3) - must be a valid email address. Use regular -I name -e email expression to validate -n phone Phone Number (4) - must be a valid phone number. Use regular expression to validate Command Options (Exactly one is required): -1 Insert new contact Print contacts (format it nicely print a header line with the records printed below, with each column given a fixed width. That is, define a maximum length for each field and make sure each column is lined up when printed to the screen) -s search term Search for contact. Should support regular expressions that get matched against the entire record, printing the list as formatted from the print command. If multiple results are found, print out all match ing results. . Extra Options You will create a Shell-based Contact List. Keep the info in a flat file that can be edited manually in a text editor with one line per contact, with fields separated by a ':'. It must take the following command line options (in any order - look at getopts.sh): Contact Data options (Required with option -i): f name First Name (1) Last Name (2) Email Address (3) - must be a valid email address. Use regular -I name -e email expression to validate -n phone Phone Number (4) - must be a valid phone number. Use regular expression to validate Command Options (Exactly one is required): -1 Insert new contact Print contacts (format it nicely print a header line with the records printed below, with each column given a fixed width. That is, define a maximum length for each field and make sure each column is lined up when printed to the screen) -s search term Search for contact. Should support regular expressions that get matched against the entire record, printing the list as formatted from the print command. If multiple results are found, print out all match ing results. . Extra OptionsStep 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