Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Bash Shell Scripts problem, please help me figure out Thank you! Submit two separate bash shell scripts that 1. Reads the following data file, 2.
Bash Shell Scripts problem, please help me figure out
Thank you!
Submit two separate bash shell scripts that 1. Reads the following data file, 2. Calculates the average of the scores for each record 3. Sorts the output by last name then first name 4. Formats the output as shown below. The objective of writing two scripts is to see that there are multiple correct solutions to such problems. One solution should use the awk tool, and the other should use bash commands (bash scripting). Write a program that reads in a data file (get filename from command line arguments) and prints out the average for each person, as shown in the "report" below based on the example data file below. Note: we will accept both rounded and truncated averages. Report: 123456789 Lee Johnson 72 85 90 999999999 Jaime Smith 90 92 91 888111818 JC Forney 100 81 97 290010111 Terry Lee 100 99 100 199144454 Tracey Camp 77 84 84 299226663 Laney Camp 70 74 71 434401929 Skyler Camp 78 81 82 928441032 Jess Forester 85 80 82 928441032 Chris Forester 97 94 89 An example data file is shown belo
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