Re: Collect the output of a shell command and set it in a file

2007-04-03 Thread Chas Owens
On 4/3/07, marcos rebelo <[EMAIL PROTECTED]> wrote: I have a program that is sending some output. All the output coming from the program shall go to a file +- in the order that would go to the output. The STDERR should have a prefix "** " and the STDOUT should have a prefix " ". This problem s

Collect the output of a shell command and set it in a file

2007-04-03 Thread marcos rebelo
I have a program that is sending some output. All the output coming from the program shall go to a file +- in the order that would go to the output. The STDERR should have a prefix "** " and the STDOUT should have a prefix " ". This problem seems to be simple, correct? For getting the output w