Re: Redirect stdout, stderr to file and stdout

2004-01-20 Thread Jenda Krynicky
From: "Larry Guest" <[EMAIL PROTECTED]> > What I need to do now is not only have is display information to > STDERR and STDOUT but also write the same information I see when I run > the command to a file. Strange you only got a few Unix-only solutions when there are at least two modules that do t

RE: Redirect stdout, stderr to file and stdout

2004-01-18 Thread Larry Guest
I think I have it. I had to have close (STDERR) close (STDOUT) close (TEE) -Original Message- From: Larry Guest [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 11:22 PM To: 'Randal L. Schwartz'; [EMAIL PROTECTED] Subject: RE: Redirect stdout, stderr to file and std

RE: Redirect stdout, stderr to file and stdout

2004-01-18 Thread Larry Guest
00:00:00 tee YourLogFileHere I have a close (TEE); at the end as well. Any thoughts? Thanks -Original Message- From: Randal L. Schwartz [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 9:55 AM To: [EMAIL PROTECTED] Subject: Re: Redirect stdout, stderr to file and stdout

Re: Redirect stdout, stderr to file and stdout

2004-01-17 Thread Randal L. Schwartz
> "Larry" == Larry Guest <[EMAIL PROTECTED]> writes: Larry> I have a small script that does some admin work for me. Larry> What I need to do now is not only have is display information to STDERR Larry> and STDOUT but also write the same information I see when I run the Larry> command to a file

Re: Redirect stdout, stderr to file and stdout

2004-01-16 Thread John McKown
On Fri, 16 Jan 2004, Larry Guest wrote: > I have a small script that does some admin work for me. > > What I need to do now is not only have is display information to STDERR > and STDOUT but also write the same information I see when I run the > command to a file. > > I have written it for other

Re: Redirect stdout, stderr to file and stdout

2004-01-16 Thread Paul Johnson
On Fri, Jan 16, 2004 at 05:02:52PM -0800, Larry Guest wrote: > I have a small script that does some admin work for me. > > What I need to do now is not only have is display information to STDERR > and STDOUT but also write the same information I see when I run the > command to a file. > > I have

RE: Redirect stdout, stderr to file and stdout

2004-01-16 Thread Tim Johnson
print @_; print OUTFILE @_; } ### -Original Message- From: Larry Guest [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 5:03 PM To: [EMAIL PROTECTED] Subject: Redirect stdout, stderr to file and stdout What I need to do now is not only have is displ

Re: Redirect stdout, stderr to file and stdout

2004-01-16 Thread drieux
On Jan 16, 2004, at 5:02 PM, Larry Guest wrote: I have a small script that does some admin work for me. What I need to do now is not only have is display information to STDERR and STDOUT but also write the same information I see when I run the command to a file. I have written it for others who a

Redirect stdout, stderr to file and stdout

2004-01-16 Thread Larry Guest
I have a small script that does some admin work for me. What I need to do now is not only have is display information to STDERR and STDOUT but also write the same information I see when I run the command to a file. I have written it for others who are not very technical. I want them to be able t