Redirecting standard error

John R Hanson JRSON@NetZero.Net
Tue Aug 31 23:49:00 GMT 1999

Whoever told you. you couldn't redirect
stderr on cmd.exe?
make 2>&1|tee make.log
works fine for cmd.exe.
I knew there must be a reason 
some people like NT better
than 9x, THAT MUST BE IT!!
Of course win95cmd.exe from the PSDK
will do the same thing.-)
And bash will do about 100X as much ;-))

On Tue, 24 Aug 1999 14:35:06 -0400, you wrote:

>> -----Original Message-----
>> From: Chris Telting [ ]
>> Sent: Tuesday, August 24, 1999 4:49 AM
>> To: Cygwin Mailing List
>> Subject: Redirecting standard error
>> How do you redirect standard error?
>> i want to do a make 2>&1 | less
>What are you using for your shell?  I believe the 
>above should work in bash.  It _won't_ work in 
>CMD.EXE or COMMAND.COM, which won't let you
>redirect standard error.  The third-party
>JP software products 4DOS and 4NT _will_ do it,
>though the syntax is different.

NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list