Re: stdout and error to one file

2002-05-21 Thread Michael Lamertz
On Mon, May 20, 2002 at 08:54:19PM -0700, [EMAIL PROTECTED] wrote: > Hi, > > I try to write a script that redirects its output, both out and error, to > a log-file, if it's possible to the screen as well. > > At the moment I'm doing this with > > open (FILE, ">whatever.txt"); > > open (STDOUT

Re: stdout and error to one file

2002-05-20 Thread drieux
On Monday, May 20, 2002, at 08:54 , [EMAIL PROTECTED] wrote: > Hi, > > I try to write a script that redirects its output, both out and error, to > a log-file, if it's possible to the screen as well. > > At the moment I'm doing this with > > open (FILE, ">whatever.txt"); > > open (STDOUT, ">&FILE

stdout and error to one file

2002-05-20 Thread Christian . Niebuhr
Hi, I try to write a script that redirects its output, both out and error, to a log-file, if it's possible to the screen as well. At the moment I'm doing this with open (FILE, ">whatever.txt"); open (STDOUT, ">&FILE"); open (SDTERR, ">&FILE"); But now of course I don't have the output on th