From the shell command line, type:
/usr/class/cs107/bin/submit
The script will:
- Ask you which assignment you are submitting (you will be
presented with a list of possible assignments).
- Ask you for the source directory path and show a list
of files that will be copied. It prevents submissions of no files.
- Try to make your assignment if it is a C++ or C program. If
errors occur, your submission will be canceled.
- Copy your assignment source files, Makefile (if any),
and README, from the current directory to our submit folder.
- If all goes well, you get the happy "SUCCESS" message.
If you get a message that says something else, follow its
directions. If you get stuck, send mail to cs107@cs.stanford.edu.
Here's a sample run:
epic28:~/cs107/section1> /usr/class/cs107/bin/submit
------------- Welcome to the CS 107 Submit Script -------------
If you are using this script on a machine other than an elaine,
epic, myth, fable, saga, or tree, please hit CTRL-C to cancel
this script, log into one of those machines and try again.
You are submitting for Susan Noreen Shepard from epic28.Stanford.EDU
If you're not Susan Noreen Shepard, then log out and try again
after logging into your own account.
****************************************************************
Which assignment are you submitting?
0 ) Test Submission
1 ) Six Degrees of Kevin Bacon Part I
2 ) Six Degrees of Kevin Bacon Part II
4 ) The cvector
Enter the assignment number (0,1,...): 0
You are submitting hw 0 Test Submission
****************************************************************
Enter the path to your source directory--use . for the current directory: .
The following files will be copied from /afs/ir.stanford.edu/users/s/h/shepard8/cs107/section1 :
Makefile
sample.cc
student.h
student.cc
Is this correct(yes|no)--enter 'no' to choose another source directory? yes
Compiling your code to make sure there are no errors:
make: Nothing to be done for `default'.
/bin/rm -f *.o a.out core sample sample.purify Makefile.dependencies
Code compiled without any errors.
****************************************************************
Copying files: only source files (with extensions h, c, cc,
cpp, java, or lisp), your README, and Makefile will be copied.
****************************************************************
SUCCESS! Susan Noreen Shepard submitted Assignment 0: Test Submission
at Tue Oct 21 22:38:51 2003. You used 0 late days for this assignment.