Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Sun, 20 Jun 1999 20:56:51 -0400 From: Phil Edwards Message-Id: <199906210056.UAA23749@jaj.com> To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: build successful (was Re: winsup in EGCS?) > > I've been trying to use "make blah | tee /something 2&>1" but the error > > messages don't get captured in the logfile. > > You should use: > > make blah 2>&1 | tee /something Duh. I miss the |& from *csh. > When using a pipe you need to redirect fd 2 into fd 1 BEFORE you use the > pipe, if redirecting into a file then you need to redirect AFTER the > redirection of fd 1 (into the file) ... it may look bizarre at first > glance but when you really look into it it really all makes sense. Actually, it makes perfect sense, once I remembered my OS courses... Did I mention that miss the |& from the csh family? :-) Phil -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com