Mail Archives: djgpp/2001/01/30/15:36:32
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> schrieb Folgendes:
>
> On Sun, 28 Jan 2001, Alexei A. Frounze wrote:
>
> > ever tried to do something like this:
> > c:\>dir |more
> > ?
> > try to add " |more" and see what happens.
> > or even better...
> > add " >test.txt" -- this will write the output to a text file instead of the
> > screen.
>
> This will not work with programs which print error messages to stderr
> instead of stdout. COMMAND.COM doesn't know how to redirect stderr.
Why is 2>&1 not implemented in command.com? cmd.exe of WinNT can do
it. Or why doesnt gcc print error messages to STDOUT on WinDOZe when a
switch like -stdout is passed? Since gcc does not stop at the first error
message, you cannot find the error without the pause key or an IDE!
--
Nuper erat medicus, nunc est vispillo, Diaulus:
Quod vispillo facit, fecerat et medicus.
- Raw text -