The DCS grading programs — gsort

Gsort sorts the student records stored in grades files.

Usage

gsort [-?] [-9] [sort options] [files]

Details

Gsort sorts the list of students using the key specified in the sort options. If no key is specified, the student name is used as key.

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 the sorted file is written to the standard output.