Re: [PHP] Stdout to file

2002-05-13 Thread Miguel Cruz

On Mon, 13 May 2002, Martin Thoma wrote:
>> man tee
> 
> 

Type that at the unix shell and be amazed at the learning that is 
revealed.

  php myphpfile.php | tee file1.txt file2.txt file.txt

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Stdout to file

2002-05-13 Thread Martin Thoma

> man tee




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Stdout to file

2002-05-13 Thread Miguel Cruz

On Mon, 13 May 2002, Martin Thoma wrote:
> Hello! How is it possible to change the standard-output temporarly to a
> file? I want to put the output of a script in 2 different files, so it
> is not possible to use php myscript.php4 > file.txt.

man tee

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Stdout to file

2002-05-13 Thread Martin Thoma

Hello! How is it possible to change the standard-output temporarly to a
file? I want to put the output of a script in 2 different files, so it
is not possible to use php myscript.php4 > file.txt.

Martin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php