delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/24/12:30:20

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=so8Z
qjO+jsuj64Hx+ORbEHQVrjD9SUNmLdyTry1L8yTTBJsdXh8EcUtH1s4D43epwSMM
PqysoVRVsw85QuAtCiKFDw8u5b7vXJU6GkMnNoohEs5FUnbsc7oMjOF3dAbhdReQ
zd0YK8YQhEt2zK/v1RJ/OrkiJKWkPznBCn1Pxa0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=ogOMPkQIwu
y5dQ1wLh4Lf/ow+S4=; b=eWzv1xIqM3LA8uOJjyPubdwrv7bP+J2YepAPDc3riD
j1hxMeDN3gRmxVcfankzAAmbpwT0p0a6kPpqZQJmE6mGst4v/jTBso3BVw5x42OT
6RYYn8WHKvc3r+kkXuCt2ettrDhRE8mDsMyNbEz/0/+gCsM4kj/dVB6zTAfCF2D2
I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=testers, MUST, manpower, severely
X-HELO: mx1.redhat.com
Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1
To: cygwin AT cygwin DOT com
References: <58AFA559 DOT 6010404 AT cygwin DOT com> <58afbd3b DOT 4e109d0a DOT b8e56 DOT e7b8 AT mx DOT google DOT com>
From: Eric Blake <eblake AT redhat DOT com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Message-ID: <79698ed5-ac1d-99e3-c69c-c82b5dbc75e2@redhat.com>
Date: Fri, 24 Feb 2017 08:43:30 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <58afbd3b.4e109d0a.b8e56.e7b8@mx.google.com>
X-IsSubscribed: yes

--uhSkrNWVDtDgIII077kwDg0WPqtESdHVt
Content-Type: multipart/mixed; boundary="LvI69wkg1VpbK7hf3vs8Q3qErNlCNtTWN";
 protected-headers="v1"
From: Eric Blake <eblake AT redhat DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <79698ed5-ac1d-99e3-c69c-c82b5dbc75e2 AT redhat DOT com>
Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1
References: <58AFA559 DOT 6010404 AT cygwin DOT com>
 <58afbd3b DOT 4e109d0a DOT b8e56 DOT e7b8 AT mx DOT google DOT com>
In-Reply-To: <58afbd3b DOT 4e109d0a DOT b8e56 DOT e7b8 AT mx DOT google DOT com>


--LvI69wkg1VpbK7hf3vs8Q3qErNlCNtTWN
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 02/23/2017 10:57 PM, Steven Penny wrote:
>> Or more likely, many people likely have pre-existing scripts wrongly
>> written as #!/bin/sh but which use bash-ism rather than portable
>> POSIX-specified shell
>=20
> However, I think it is worth the trouble.

If you'd like, I can post experimental versions of both bash and dash,
which MUST be upgraded (or downgraded) in lockstep, where I move /bin/sh
over to the dash package (do it wrong, and you could be left with no
/bin/sh at all, which is not a good idea - although maybe I can use some
postinstall scripts so that at least the upgrade side tries to play nice
even when someone only does a partial upgrade).  If people will then
test with those experimental versions installed, and report breakage, we
could get a feel for how many scripts installed by default are broken.

But we are severely limited in volunteer manpower compared to Debian,
and I suspect that 1) there won't be enough testers (we won't know the
real impact until it is no longer experimental, but that is too late),
and 2) even if testers are diligent, we will be unable to patch all the
fallout in any sort of timely manner.

Are you really prepared to force the Cygwin community through that much
growing pain?

I agree that /bin/sh as dash is much faster at executing configure
scripts. But configure scripts aren't the only scripts in the wild. We
do have checkbashisms ported to Cygwin, and that can help, but it is not
a panacea.

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--LvI69wkg1VpbK7hf3vs8Q3qErNlCNtTWN--

--uhSkrNWVDtDgIII077kwDg0WPqtESdHVt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJYsEaSAAoJEKeha0olJ0NqrOQH/0rzP+wwjVaX1f3LjXtTFG/u
ZxR2FJf0ABIhKw+Gddubiz/xVvmbOi12U5orXsf7Dm2Z4CgxZOVko6i/JNvd7x6G
IBspGsxJ8IT1SphwfV5YEarkYh4snmRAqt41e1orw8wcyxBM8/tY+6Juv7FphyFg
MJ5TdHSkhUva9ZfAQyCXEbkK7pFpA4bQU1IOrtNyyw6ROuC1eH15aoogCiV8DLI4
M5mvQGySNupxix+M9aGLFb3TiPD9Z2si+FJQmJ0MVyyalEy9h0Acoi4y6k/mN2YD
uN+hmzQNwYv1RotnXexxN+Oy5uYKXmU1/MbzBtBR4SECtv6Tf1A1g1rqw0beop8=
=MYvt
-----END PGP SIGNATURE-----

--uhSkrNWVDtDgIII077kwDg0WPqtESdHVt--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019