delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <FFC7351A4632D411820000508B2E1C2C01CB13D0@hqexch01.citrix.com> |
From: | Kevin Schnitzius <kevin DOT schnitzius AT citrix DOT com> |
To: | "'Karr, David'" <david DOT karr AT cacheflow DOT com>, |
"'cygwin AT cygwin DOT com'" | |
<cygwin AT cygwin DOT com> | |
Subject: | RE: Pipe "make" stdout and stderr to process? |
Date: | Thu, 5 Jul 2001 18:02:20 -0400 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2650.21) |
make 2>&1 | filterprog If you try "make | filterprog 2>&1" you are redirecting stderr for filterprog only. Kevin -----Original Message----- From: Karr, David [mailto:david DOT karr AT cacheflow DOT com] Sent: Thursday, July 05, 2001 17:14 To: 'cygwin AT cygwin DOT com' Subject: Pipe "make" stdout and stderr to process? How do I run "make" so I can pass both stdout and stderr to a filtering process? I'm familiar with writing the output to a file, taking both stdout and stderr ("make > make.out 2>&1"), but I don't see how to get this to work if I just want to pipe the output (both stdout and stderr) to another process. When I do "make | filterprog 2>&1", it seems to have no effect, in that it appears as if the stderr from "make" goes directly to the console. From reading the "bash" man page, it almost seems as if redirection doesn't apply to piping. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |