Report question

Question: How to diff file and output stream "on-the-fly"?