2 # -*- encoding: binary -*-
3 # tee(1) as distributed on most(all?) systems is buffered in luserspace
4 # this only does unbuffered writes (with line-buffered input) to make
5 # test output appear in real-time
8 fp
= File
.open(ARGV.shift
, "wb")
9 $stdin.each_line
do |line
|