You could open a file from within the script, then for each of your 
prints, print both to the open filehandle and also to standard out.

This should work though I would imagine (hope) there is a better way.

http://danconia.org

Troy May wrote:
> I'm writing a script that is currently interactive ( once I'm done debugging
> it will be non-interactive) in that I have to tell it to keep processing
> data after the end of every pass. I'm looking for a way to display the
> script's output on my screen, but also to log it to a file if possible. I
> know by using '>' I can redirect, but it doesn't display on the screen if I
> take this approach.
> 
> Any suggestions?
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to