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 :content-transfer-encoding; q=dns; s=default; b=xPQ/ErtuSdPlvFoc pxvinJ+rHFWTHkvsgofyhalmWvwlMHdCTcbtDcG60LAaq7X3Dfiu8Cd3fCZ94WRJ SLVOL33dDnWNxks7RVuWdZPtFv4Cb0W/VV5GbVz+2/DBQifdwVjfLCQC4mLzs3Xd F9AxQ1filvfuWsa7GzDhl6q/p0M= 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 :content-transfer-encoding; s=default; bh=ILbCdjDcvhMWNUjH2OBwKx 7g0dY=; b=DGzXVzJlbT3R0Z5B5Vk7w6QTazqO+3CQSQzNOWrGGiUW0rtpLw27Tt BpqqKe1dFV7sTGlagLpx1rRpagg/CTXIWhSWmXRkmvMAPm1avxOhOGmy78YQlQDg gkzjo+AuiTo2i48qjcs0nDIMd9I3PsmiYJWOqm9ycjvgVgavvpB8I= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*f:sk:79698ed, H*i:sk:79698ed, H*MI:sk:79698ed, Hx-spam-relays-external:ESMTPA X-HELO: dragonfly.birch.relay.mailchannels.net X-Sender-Id: totalchoicehosting|x-authuser|lee AT dilkie DOT com X-Sender-Id: totalchoicehosting|x-authuser|lee AT dilkie DOT com X-MC-Relay: Neutral X-MailChannels-SenderId: totalchoicehosting|x-authuser|lee AT dilkie DOT com X-MailChannels-Auth-Id: totalchoicehosting X-MC-Loop-Signature: 1487948722514:2139872798 X-MC-Ingress-Time: 1487948722514 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> <79698ed5-ac1d-99e3-c69c-c82b5dbc75e2 AT redhat DOT com> From: Lee Dilkie Message-ID: <4a51815a-94c9-f97e-5be8-613ae67803ce@mitel.com> Date: Fri, 24 Feb 2017 10:05:20 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <79698ed5-ac1d-99e3-c69c-c82b5dbc75e2@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-AuthUser: lee AT dilkie DOT com On 2/24/2017 9:43 AM, Eric Blake wrote: > 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 >> >> 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. > If dash doesn't support all the features of bash (which is incorrectly assumed in some cases for sh), aren't you just asking for trouble by breaking things? -lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple