This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Redirecting standard error
- To: "Cygwin Mailing list (E-mail)" <cygwin@sourceware.cygnus.com>
- Subject: Re: Redirecting standard error
- From: JRSON@NetZero.Net (John R Hanson)
- Date: Wed, 25 Aug 1999 01:57:55 GMT
- References: <65CAA822B707D211AD430008C7F40FED748468@EXCHANGERSW2>
- Reply-To: JRSON@NetZero.Net
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