Question: 4. [12] Write a bash shell script called alert which accepts a command line argument, searches a comma-separated value (CSV) data file, and meets the

 4. [12] Write a bash shell script called alert which acceptsa command line argument, searches a comma-separated value (CSV) data file, andmeets the following requirements The format of the data file is asfollows: FIELD C1st.omer 1d account number FORMAT nimeric numeric alphanume ric Lan

4. [12] Write a bash shell script called alert which accepts a command line argument, searches a comma-separated value (CSV) data file, and meets the following requirements The format of the data file is as follows: FIELD C1st.omer 1d account number FORMAT nimeric numeric alphanume ric Lan Compare the usage field of the CSV data file field to the value specified by the user (command line argument) . . Display all entries whose value is greater than that specified . Your script must search the usage field only -- no unintentional matches with other fields (e.g. account number, etc.) If there are no records whose usage is greater than the value specified, print the message "There are no customers with usage greater than ". Substitute specified value in message as in example below . .For this question, your program must read the data file on a line-by-line basis. (Do not split the data file into multiple files by field. Do not assign the entire output to a single variable.) . You must clean up any temporary files which you used

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!