DCS grading programs

gpr

The purpose of gpr is to display the contents of grades files in readable form. The options give control over format and inclusion of statistics, comments, names, etc., so that the command serves various purposes. Some of the other grading "programs" are actually shell scripts that call gpr.

Usage

gpr [-H] [-S] [-T] [-L] [-N] [-F] [-C] [-M] [-E] [selection options] [sort options] [files]

Details

These options are accepted:

-H
Omit the header -- the list of mark definitions.
-S
Omit the student records.
-T
Omit the statistics.
-L
Produce long-form output, with several lines per student.
-N
Omit student names.
-F
Omit drop indicators and flag characters.
-C
Omit comments from student information.
-M
In short-form output, omit titles and blank lines.
-E
In long-form output, omit marks with no value.
Gpr sends to its standard output a more readable representation form of the marks contents of one or more grades files. In the default format, blank lines are artistically inserted, the columns are labeled, and a statistical summary output is appended.

Using the -N, -F and -C options is probably appropriate for public display, and the command gpubreport -- a shell script based on gpr -- does so.

If no files are specified, input comes from the standard input.

Changes since the previous version

Gpr no longer supplies file name or date information. It does add various capabilities, of which these are probably the most significant: