Using the Homework Submission Program
To submit an assignment using the homework submission
program, type "hsp" in a terminal window.
You will then be prompted to provide the instructor's name,
the course number, and the name of the file you wish
to submit.
You can also use hsp to make sure your submission
has been successful. Again, just type "hsp" and follow the
instructions to receive a list of all your submissions in the same
form used by the "ls -l" command.
An Example
Here's how it would look if you were submitting a program called
"kudu.cpp" for Jeff Ondich's CS117 class, while logged in on
the computer named "wilkes".
wilkes> hsp
Instructor: ondich
Class: cs117
Submitting a file, or checking already submitted files? (s or c): s
File to submit: kudu.cpp
Copying file kudu.cpp to /tmp
Copying file to /Accounts/other/grader/CS117/ondich/youraccountname/kudu.cpp
File submitted: Thu Sep 16 19:06:29 CDT 1999
Here's how you would check to make sure your submission was successful.
wilkes> hsp
Instructor: ondich
Class: cs117
Submitting a file, or checking already submitted files? (s or c): c
/Accounts/other/grader/CS117/ondich/youraccountname:
total 12
1 drwxrwx--- 2 grader users 512 Sep 16 18:23 .
1 drwxr-xr-x 3 grader users 512 Sep 16 18:23 ..
3 -rw-rw-rw- 1 grader graders 2939 Sep 16 18:37 kudu.cpp
wilkes>
Notes
- You can use command line arguments to submit a file
by typing, for example, "hsp ondich cs117 kudu.cpp". In this
case, you won't be prompted for instructor or class or file.
- You can use command line arguments to check your
submissions by typing, for example, "hsp ondich cs117 -check".
- The professor and course number are case insensitive,
so "OnDiCh" and "cS117" will work as well as the
less flamboyantly capitalized versions shown above.
- The command name and the file name are case sensitive, so
you must type "hsp" without capital letters, and your file name
must be the exact file name.
- The "cs" in "cs117" is essential.
- You may submit an entire directory by typing the name of the
directory in place of a file name.
- Once you have submitted a file with a particular name, you cannot
submit another file of that same name. If you want to submit a
second or a third version of "kudu.cpp", just call them
"kudu2.cpp" and "kudu3.cpp".
- If you misspell the name of the professor or the class or
otherwise make a mistake, hsp will prompt you with a
list of professors and classes to choose from.
Jeff Ondich,
Department of Mathematics and Computer Science,
Carleton College, Northfield, MN
55057,
(507) 646-4364,
jondich@carleton.edu