Hi all,
I am working with the Grinder tool (unrelated to my question) to redirect the output of a program to a file as follows:
java -cp $CLASSPATH net.grinder.TCPProxy > grinder.txt
This is a proxy server which pipes output to a file. When I do something on my proxy, more and more goes to this file.
Now my question is as follows: I want to be able to put my own text in the file while the program is running, basically for comments so I can break up what each part is. But when I add stuff to the file, save it, and then do something to add to the file, my additions are overridden.
Is there any way I can get my additions in the file while it is being redirected?
Thanks for the help.