I want to take the following
Name Exam1 Exam2 Exam3 Greg 63 72 70 Scott 90 95 98 Emily 81 65 89
and have the script add a new column with the total scores and sort the people by total:
Name Exam1 Exam2 Exam3 total Scott 90 95 95 280 Emily 81 65 89 235 Greg 63 72 70 205
the input file is grades.txt
I dont know how to get the input file in bourne, or how to grab the values in the individual columns.
Any help would be greatly appreciated. I think I just need a few tips and push in the right direction .