Mail Archives: djgpp/1997/07/06/18:06:16
In article <Pine DOT NXT DOT 3 DOT 95 DOT 970705125226 DOT 18363A-100000 AT eagle1> Jude DaShiell
wrote:
: Is it possible using redir.exe to cause all output from stdout and
: all utput from stderr to be caught in a single log file? From reading the useage info
: both isn't mentioned in that documentation. Just now i tried:
: redir -o tests.log -e tests.log makeall <cr>
: to try and test the installation of djgpp. tests.log came back with 0k length
: so that particular method doesn't work.
The redir utility parses options in the order they appear, so:
redir -o tests.log -eo makeall
Then redir directs all output to tests.log, and then directs all errors to
wherever the output is going. So they both go to tests.log. The order is
important I think.
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -