in reply to if (STDERR == STDOUT)

This might be something that's best done through command-line options.

Replies are listed 'Best First'.
Re^2: if (STDERR == STDOUT)
by madbombX (Hermit) on Mar 07, 2007 at 04:59 UTC
    Just to expand on ikegami's command line option suggestion (which I agree with), you may want to check out the command's tee or mkfifo. Either one of these 2 will be able to push text to more than one file (or pipe).