Mail Archives: djgpp/1997/12/19/08:30:33
On Fri, 19 Dec 1997, Theuzifan wrote:
> Hi!
>
> How can I redirect the output error messages to a file (it writes it to
> stderr not to stdout, I believe), or if it generates an .err file like
> Watcom. I think no, but it may be a good idea for future releases. In
> linux it's not needed, as it can scroll the window up and down, but in
> DOS...
> Thank in advance!
>
>
Try the redir utility which come with djgpp.
Take a look at the FAQ , sections 6.10, 9.2, 16.6
Or if you use bash, use the built-in redirection mecanisms:
my_command 1>toto.log 2>&1
Olivier.
- Raw text -