Here's how to use it in CDF:
unshar 1b.shar
submit -N a1 csc324h filename.java
where 'submit' is the command to submit your assignment electronically,
'-N a1' indicates that you wish to create a subdirectory 'a1' in
your submit directory containing that assignment,
'csc324h' is this course,
and 'filename.java' is the file with your submitted assignment.
To submit everything at once, you can cd to the root directory of the
csc324 package and type
submit -N a1 csc324h csc324/*/*.java
To resubmit something (that is, submit a file that you previously submitted), type
submit -f -N a1 csc324h csc324/*/*.java
(Note that this writes over the previous submission, so DON'T do this
after the deadline; we use the timestamp on the file to verify when you
submitted.)
To read more, type "man submit".
In addition to the electronic submission, you must hand in a paper copy
of every class, the class hierarchy, and a paper copy of your program run
demonstrating each of the operations that are described in part C. (Add
an item, sell an item, etc.) You can create a program run by typing
script a1.out
which will then capture everything that appears on the screen and save it
in file a1.out. To end the script, type ctrl-D.
To find out more about script, type "man script".