At least on Unix, there is a utility called tee which helps you to print to the screen and to a file simultaneously.
In reply to Re: script and its output on different handles
by hdb
in thread script and its output on different handles
by atu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |