in reply to Re: Saving Standard Output (overloading print())
in thread Saving Standard Output (overloading print())
Er, dude ... typo... Your second example is equivalent to "command file > tee" and will produce a file called "tee".
Redirection and piping works in windows (kind of - it uses temporary files rather than real pipes), although I've no experience is using that from perl. Plus, you won't have "tee" unless you have the cygwin kit installed.
Corrected, his answer is "command | tee file", which will write output to file and also standard output.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Saving Standard Output (overloading print())
by Anonymous Monk on Jun 02, 2002 at 07:54 UTC |