Ancient CS 61 Content Warning!!!!!1!!! This is not the current version of the class. This site was automatically translated from a wiki. The translation may have introduced mistakes (and the content might have been wrong to begin with).
Standard IO behaves differently when it is writing to the console
(display) and when it is redirecting to a file.