delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/23/23:57:47

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:message-id:date:from:subject:to:references
:content-type; q=dns; s=default; b=GlFFUEkUbvvBw8ipaF/zvDu5s2n3P
pAylTWelgEG/eXu+aWs2qOYTHHyqyoacLGz8kf53oE+0fibSxd4VfQSkHkxWy657
l7mPvhL3sOdjMndG9OxdaSOZnjAzKD6B3fcaPkLd/GCZ4u2xIK6lrgMPhNMldrrq
RuXK0lPyxj3dDE=
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:message-id:date:from:subject:to:references
:content-type; s=default; bh=ZaDfaNhn/EVEuZxryODko4/+MD8=; b=S9/
QD0JWFggOWrwyYT7XW2f32QWM9jxHeu+/lKFPgQtSYWBodadROh43fx6G+mSpTrx
NZShGqsQ6+R0HvNymAisqsUzn4IpV1lIL+ANAM5GtKZ6D3HexRFbCySmRKpO1kl5
w7fEo9CZU3zBO1Zfd18FxyQP7YGtD8JVNq+tu81o=
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.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=hall, Hall, H*MI:sk:58AFA55, H*f:sk:58AFA55
X-HELO: mail-ot0-f169.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:subject:to:references :user-agent; bh=6DrXt4HnhgmUAbgfByrTG66vCmVyfcq23nNoAF2ZaSo=; b=LNeoZjvbyLi6gfZCFClw694u2hEuYnZ+/c9kKLkLdT5qoWESKMjZnMGmn2H8PXc1Di iPoJIpU7rA+LXqHsevea/36yn3s+BTit6pG8LDLLX+f8F2/IZJJqhYmJz7l9q/BxiLIn knmOa1FCiDzYI69f1EkLPgnOfGoP+I3ksIwIv3KqsbSV4O47wLfnq8gyE8FECXtjffG0 tMJNrewWJ26121PYSJf5e6uafwjmyHCsf0ogAyQf8ytiaCiW02D67X1M+29ZpwlInKj6 KQbuuykE3siUxUlVwT2NSM/YJ1zZV5h0mB+7pVx/o6vypfs8uH5Ejl77HCjvdY9mWPod VjvA==
X-Gm-Message-State: AMke39nX8gobw0/B9/6wUGQGSYQw5y1FdyX9K1I3wAOZksQUFcZgONxIRAKELaiTTT5EJA==
X-Received: by 10.157.26.103 with SMTP id u36mr537095otu.124.1487912252129; Thu, 23 Feb 2017 20:57:32 -0800 (PST)
Message-ID: <58afbd3b.4e109d0a.b8e56.e7b8@mx.google.com>
Date: Thu, 23 Feb 2017 20:57:31 -0800 (PST)
From: Steven Penny <svnpenn AT gmail DOT com>
X-Google-Original-From: Steven Penny
Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1
To: cygwin AT cygwin DOT com
References: <58AFA559 DOT 6010404 AT cygwin DOT com>
User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst)

On Thu, 23 Feb 2017 22:15:37, "Larry Hall (Cygwin)" wrote:
> Since making a change of this magnitude is going to be an undertaking, we
> should be sure we're going to see the intended benefits before enduring the
> pain such a change would bring, though hopefully that pain would be
> short-lived and/or minor. :-)

I am open to others debunking my previous test with other/better tests, but from
where I sit the benefit can be clearly seen. Not just with script times, but
startup time will see a 2-3 fold increase as well. This can be hugely helpful
with situations like using Autotools (configure), where "sh" is spawned hundreds
of times.

I have done heavy testing "living" with Dash. Between my repos I have over 80
Dash scripts, with usage going back to 2015:

http://github.com/svnpenn/a/commit/b4908b7

I think Eric said it well:

On Thu, 23 Feb 2017 14:41:52, Eric Blake 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.


--
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

- Raw text -


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