Scripting
UNIX/Linux has a nice feature called scripting that allows your every keystroke in an interactive session to be captured into a text file. This file can be reviewed by you (using cat filename), submitted to the grader through subversion, or printed.
To start a script type
> script name.txt
(Everything you do here will be captured)
>exit
For example, showing some runs on the incorrect MiniSort.cpp file:
Be sure to exit script, otherwise your script file can become very large. Be sure you see the
Script done. File name should be yourusername2.txt, where the 2 is for Lab 2.