Gen calculates the values of marks that are derived from other marks. That is, it calculates "calculated marks" from "raw marks", in the terminology of the description of the file format.
Usage
gen [-?] [-9] [selection options] [files]
Details
Gen calculates all the marks for all the students in the grades file, except those who are excluded by the selection options. One other option is accepted:
-9 |
Use nine-digit student numbers in the output files, if possible. |
If no files are specified, input comes from the standard input and output goes to the standard output. Otherwise, the values of marks stored in the named files are updated.
How to calculate marks for submission
To prepare and submit your final marks, you need more than just gsub. For advice, see "Submitting your final grades".