I have written a hand-in program, which you should use to submit the
electronic version of your code and data. First, cd
to
the directory that contains the files you wish to hand in.
You then run the handin
program as follows:
asgtname
is the name of an assignment directory into which
your submission will be put, and file1
, file2
, ...
are the names of any files or directories you wish to submit.
The valid choices for asgtname
are: HW0
,
HW1
, HW2
, ..., and TEST
.
Choose the one that matches the assignment you are submitting.
You can use TEST
to try out the hand-in program, or to
supply me with code that you want me or the TA to help you with,
but nothing you submit to this directory will be graded.
When you run handin
as indicated above, the program will call
the tar
archiver to package up your files
file1
, file2
, ... into a single unit.
The package is then written into a course hand-in directory, and the
submission is logged.
If there are no problems in writing the hand-in file, you will see a list
of the names of all the files that were handed in, followed by a success
message printed that shows the number of bytes that were saved (this will
be less than the total number of bytes in all your files, because the
handin program applies data compression to the handin before saving it).
If something goes wrong, a negative message will be printed at the end
instead.
It is your responsibility to make sure that your handin was successful and that the proper files have been submitted. If necessary files are missing from your handin, it will not be graded. You should check the log file, for example, by:
You should be aware that, although you may submit your program more than
once for the same assignment using handin
, only the data from
the most recent time you ran handin
is saved. In particular,
this means that you must handin everything each time you run
handin
; you cannot hand in ``a little at a time.''