Gcopy copies a mark from one grades file to another.
Usage
gcopy [-?] [-9] [-m markname] [selection options] [tofile fromfile]
Details
Gcopy copies the mark named markname from the grades file fromfile into the grades file tofile. It accepts these options:
-9 |
Use nine-digit student numbers in the output file, if possible. |
-m markname |
Copy the mark named in markname. |
You must specify exactly two file names, or none at all. If the file names are omitted, gcopy asks you for them.
If the -m option is omitted, gcopy interrogates you for the mark name. Both files must define a mark by that name, or gcopy fails with an error message.
Separate-line comments are not copied, but if any comments in fromfile mention the mark being copied, a warning is given.
If a mark being copied from fromfile would overwrite a non-empty mark in tofile, the user is asked how to proceed. The choices are to skip the mark in fromfile, or abandon copying.