Home |
Teaching |
Research |
About me |
|
by James Tam with assistance from Jennifer Walker
Syntax:
submit -c <course number> -a <assignment number> <name of file or files to be submitted>
Example:
(Individual submissions for the files called a3.p and README)
submit -c 231 -a 3 a3.p
submit -c 231 -a 3 README
The files called "a3.p" and "README" will be electronically submitted one at a time for the course CPSC 231 for assignment 3. Note spaces are required (SP = space): submit<SP>-c<SP>231<SP>-a<SP>3<SP>a3.p
(Submitting both files all at once)
submit -c 231 -a 3 a3.p README
The files called "a3.p" and "README" will be electronically submitted at the same time for the course CPSC 231 for assignment 3.
Note: If you accidentally submit the wrong version of a file then you simply have to resubmit the assignment again and the new copy will overwrite the old version. If you submit a file that you didn't mean to (i.e., something that has nothing to do with your assignment submission) then you can submit another empty file with a name that is identical to the file which was accidentally submitted.
Syntax:
showstuff -c <course number> -a <assignment number>
Example:
showstuff -c 231 -a 3
This will show a list of all the files that were electronically submitted by the student for CPSC 231 for assignment 3. The number indicates the file size (not the number of files submitted).
Note: It is up to the student to use the showstuff command in order to verify that all files have been properly submitted. You can see the actual contents of the files that you submitted (text files only) by adding the -v option e.g., "showstuff -c 231 -a 7 -v"
Finally if the length of the file is longer than a page and you just want to see one screen at a time then you want to view one screen at a time you can use the 'more' program at the end e.g., "showstuff -c 231 -a 1 -v | more"
Syntax:
steal -c <course number> -a <assignment number>
Example
steal -c 231 -a 3
This will copy all assignment submissions that are owned by the person running the steal command into the current working directory. Paths to subdirectories can also be used to determine the location of where files will be copied. Note: Care must be taken to ensure that this location is not viewable by the general public (such at the temp directories in UNIX).
(TA trouble shooting: What to do if one of the students who is registered in your tutorial is listed in the submit database as a student in another teaching assistant's tutorial).
If for some reason one of the students registered in your tutorial has assignments being submitted to another TA's tutorial (e.g., the student changed registration via PeopleSoft but the information wasn't updated in UNIX) then you can use the '-t' option to "steal" the assignments submitted to another TA.
Syntax:
steal -c <course number> -a <assignment number> -t <CPSC UNIX login name>1
Example
steal -c 231 -a 3 -t smiley
This will copy all the 231 assignment three submissions of the TA whose UNIX login name is 'smiley' into the current working directory in UNIX.
Update (from a system administrator regarding the submit system):
Do not use the feature of submit that allows you specify the destination directory. There is currently an issue with this feature and if you use it then there may be problems with the files that you retrieve. The following work around should be employed instead:
Create a directory to collect assignments (i.e.. "mkdir c219a6")
Change into this directory (i.e.. "cd c219a6")
Run the steal command with no directory specified (i.e.. "steal -c 219 -a 6")
1 This probably will not be the same as the UC-IT email user name (which is issued by the university and not the CPSC technical support staff). You can get login name from the tech support staff or by asking the course instructor to get this information on your behalf.
For more information on electronic submissions please refer to man pages on submit (at the UNIX prompt type "man submit").