duplicating handles

Hal Daume III hdaume@ISI.EDU
Tue, 17 Dec 2002 11:08:01 -0800 (PST)

Question about dupTo...you can use it to, for instance, redirect stdout to
a file.  What if I want to have stuff that is printed to stdout to be
redirect to a file *and also* printed to stdout.  I fooled around with a
few combinations, but nothing seems to work.  Please help :)

Hal Daume III

 "Computer science is no more about computers    | hdaume@isi.edu
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume