Skip Navigation

Text Only/ Printer-Friendly

Carleton College

  • Home
  • Academics
  • Campus Life
  • Prospective Students
  • Alumni
  • Faculty & Staff
  • Students
  • Families

Using the Homework Submission Program

To submit an assignment with hsp, type the following in a terminal window:

    hsp file class

So, for example, to submit a file named "savetheworld.cpp" to CS111, you would type

    hsp savetheworld.cpp cs111
Here are more detailed notes on the file and class fields of the hsp command.

file

The name of the file you want to submit. This is case sensitive, since UNIX is case sensitive. Thus you must type the name of the file exactly.

If this field is left blank, or the file you indicated doesn't exist, you will be prompted to choose a file.

If you have a whole bunch of files that need to be submitted for one particular assignment, you can submit them en masse by putting them into a directory and using the name of that directory as the filename in the hsp command.

class

The name of the class you are submitting the homework for. Whatever you type in this field is matched against the classes you are enrolled in. For example, if you are taking CS322 and CS324 and want to submit an assignment to CS322, "cs322", "CS322", "cS322", or "322" will all work.

If this field is left blank or there is more than one match, you will be prompted to choose a class.

Other details

Files cannot be submitted if their names contain any of the following characters: ?, \, *, |, or :.

Links cannot be submitted.

You can type the following in a terminal window for less detailed help:

    hsp -h

Checking Your Submission

It is possible to check to make sure your files have been submitted.

Type the following in a terminal window:

    hsp -c class

So, for example, to check what files you have submitted to CS111, you would type:

    hsp -c cs111

hsp outputs a list of every file that you have submitted to be graded, the date and time they were submitted, their sizes, and a couple of other random pieces of information. Submitted files are listed before submitted directories and each are sorted by time of submission. The latest submission should be at the bottom of its respective list.