This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ash-20040127-3: Invalid behavior of negated pipeline


-----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]