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 [ mailto:telting@sprynet.com ]
>> 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.
>
>______
>Dennis

________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list