The TA will be available in CS 364 at the following times:
Create a shell script, GradeReport, which combines the information from these three reports into a single one which has 5 columns: student ID, name, and grades from each of the three courses. The report should be sorted according to student ID.
You need not check that the files have the same names for the same IDs, but if you want to note any discrepancies (as a nice extra touch) do so, keeping the first name encountered as being the correct one.
For this part, you should submit a well commented listing (WCL) of GradeReport, the grade reports you created for your sample run, and your sample run showing how (well) it works. Your sample reports should have at least 20 students from at least 4 majors. Of course, the grades should be reasonably distributed. Include also (of course) an explanation of the sample runs, stating how they show that your script works well.
For this part, submit the same type of WCL and sample runs with explanations as you did for the previous part.
For this part, submit the same type of WCL and sample runs with explanations as you did for the previous parts.
Note:
This homework requires solutions related with awk. Functions may be considered as necessary.
For all 3 parts (scripts), your solution may well create some intermediate file(s). If so, they should be named in such a way that you could run more than one copy of the program at the same time, and they should be deleted when the script exits. You need not actually send the e-mail. It is sufficient that you echo to the screen a line giving the command that would e-mail the message to the given address.