I have a question.
Here is what I want to achieve :
There is some c program, I compile it , run it. I want whatever happens on the terminal (O/P of the program ) appended as comment to the main program (/* */). Its something like.. I want "tee" command (or anything else) to watch STDin ,STDout and STDerr and all should be written to a file as well as displayed on the screen. Is this possible ?