X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.0 c=1 a=-qy2VXqdHpMA:10 a=elMEnEWhGIQA:10 a=mDV3o1hIAAAA:8 a=xe8BsctaAAAA:8 a=j635KDE6Q27n77_bDy0A:9 a=q3VjfuUGC8Hlx71zJSvqXjHJxJAA:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 Message-ID: <48A2396D.5010701@byu.net> Date: Tue, 12 Aug 2008 19:31:25 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ash-20040127-3: Invalid behavior of negated pipeline References: <20080812154059 DOT GS5129 AT calimero DOT vinschen DOT de> In-Reply-To: <20080812154059.GS5129@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Corinna Vinschen on 8/12/2008 9:40 AM: | On Aug 12 19:36, Dmitry Semyonov wrote: |> Hello all, |> |> -- begin -- |> $ bash -c '! true | false; echo $?' |> 0 |> |> $ ash -c '! true | false; echo $?' |> 1 |> -- end -- |> |> Mostly "if" conditions are affected by this issue. The next release of the autoconf manual will also mention this portability pitfall, among others: http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=3ca7a51 http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=95dfc19 | | Use bash as sh. ash is only in the distro to run rebaseall. I won't | release a new version of ash any time soon, if it doesn't explicitely | affect rebase. Although, now that the bash package blindly installs /bin/sh, ash no longer needs a postinstall script. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEUEARECAAYFAkiiOW0ACgkQ84KuGfSFAYCVWQCgpVdDEwtww1IC7ii0SY2OfeQF yY8AmLB1xMSJ9V7DL2dsp1UOxkG2fCo= =EyAp -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/