[OT] combine stdout and stderr...

Jorge Almeida jjalmeida at gmail.com
Tue Mar 3 10:37:34 PST 2009


On Wed, Mar 4, 2009 at 5:51 PM, Bill Campbell <linux-sxs at celestial.com> wrote:

> In C I think ``man dup'' describes how to do this.  It's been
> years since I did much C, and generally avoided things like this.
>
I think that 'dup2(1,2)' should do it. I'll try it.

Thanks.

Jorge




More information about the Linux-users mailing list