Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: Return codes and pipelines Date: Sun, 12 Jan 2003 17:09:55 -0500 Message-ID: <83040F98B407E6428FEC18AC720F5D73015BA93F@exchange.tropicnetworks.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Rolf Campbell" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0CMAOO22100 /home/rcampbell> (true | true) && echo true || echo false true /home/rcampbell> (true | false) && echo true || echo false false /home/rcampbell> (false | true) && echo true || echo false true /home/rcampbell> (false | false) && echo true || echo false false The third test above yields different results when run on Linux. I'm wondering if this was the desired result or not? (This is not a new problem, it's been around for at least a year of releases). It makes some makefiles not work as expected, specifically, the GCC manual describes how to perform auto-dependency analysis like: gcc ... | sed ... But, if gcc fails, sed will still work, thus make will not consider it a failure and will continue. I know there are many ways to avoid this specific problem, already implemented one. Just wanted to let you guys know. -Rolf Campbell Software Designer Tropic Networks -- 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/