www.delorie.com/archives/browse.cgi | search |
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=fdYk | |
qNYOwv89YVcXCYktkjdeJRlbfAKHrGL3MqH/b5EjhNAHXd0gdgD/cJydSzMqxIwn | |
VrVWBnVo2oYy3k4szDlHTpVY14ICGcmXN90Y46l3jZSqlqXJQ50xeUCFsxq5ijoN | |
zAglZxTDKgFuVjcKtCz9ocF0r/a1g/m3AyrM7Tg= | |
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=38ygmXdbTp | |
hsDdiBZ4mwk7jYwOc=; b=rFPjgkCh4RZTPxNaZmdFgDU42b/wbCR218CQFJgYZB | |
s/sgwfLZ7yl4cfLNrBksb0KXU8xoYRukHfqJjDrzIdMX+SVsLWRZ7U8JGeedjZjU | |
LDSOa56am4q7gqsmLULsVUojDU/FMXQO5PxajyAWq8nMpGbrvjm0qBW1RD9zKnEp | |
A= | |
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=Brian, inglis, Inglis, breakage |
X-HELO: | mx1.redhat.com |
Subject: | Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1 |
To: | cygwin AT cygwin DOT com |
References: | <1835159156 DOT 20170223203808 AT yandex DOT ru> <58af3c19 DOT 01309d0a DOT 781cc DOT afce AT mx DOT google DOT com> <74aa0c8b-c268-dbd4-88b7-cda78186f321 AT SystematicSw DOT ab DOT ca> |
From: | Eric Blake <eblake AT redhat DOT com> |
Openpgp: | url=http://people.redhat.com/eblake/eblake.gpg |
Message-ID: | <d00649dc-0be4-3b8a-5d10-84d58dd1c60e@redhat.com> |
Date: | Thu, 23 Feb 2017 14:41:52 -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: | <74aa0c8b-c268-dbd4-88b7-cda78186f321@SystematicSw.ab.ca> |
X-IsSubscribed: | yes |
--fX28osa257oBbkKJ4CTNqxdMEwmckrivD Content-Type: multipart/mixed; boundary="BXhmsRqjdllJ1rreeeBoQNB1biiO9L5U6"; protected-headers="v1" From: Eric Blake <eblake AT redhat DOT com> To: cygwin AT cygwin DOT com Message-ID: <d00649dc-0be4-3b8a-5d10-84d58dd1c60e AT redhat DOT com> Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1 References: <1835159156 DOT 20170223203808 AT yandex DOT ru> <58af3c19 DOT 01309d0a DOT 781cc DOT afce AT mx DOT google DOT com> <74aa0c8b-c268-dbd4-88b7-cda78186f321 AT SystematicSw DOT ab DOT ca> In-Reply-To: <74aa0c8b-c268-dbd4-88b7-cda78186f321 AT SystematicSw DOT ab DOT ca> --BXhmsRqjdllJ1rreeeBoQNB1biiO9L5U6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/23/2017 01:59 PM, Brian Inglis wrote: >> If script succeeds, then yes sh is now a symlink to Dash, but only >> for my system. I still have to use #!/bin/dash with my scripts, >> because otherwise people with Bash -> sh will not get the speed >> boost. The whole point of this thread is that it should be changed >> for everyone. >=20 > And should be done using update_alternatives so it and associated=20 > man pages can easily be changed if anyone suffers breakage. > Some people may continue to need or prefer using bash in POSIX mode. 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 (if it is portable, then bash vs. dash executing the script shouldn't matter - but as Debian found out when they switched to dash, there are a lot of non-portable scripts). On the other hand, Debian has already fixed much of the pre-packaged badness out there and pushed fixes upstream where feasible, so these days it's not as hairy to switch as when Debian first did it. But part of me is still reluctant to make the switch as long as Fedora still favors bash over dash. One problem with using update_alternatives: the alternatives system relies on symlinks, but Windows is not so smart about executing through symlinks; are there people that will have a broken setup if /bin/sh is a symlink rather than an actual executable (hard links are fine, but symlinks is where I worry). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --BXhmsRqjdllJ1rreeeBoQNB1biiO9L5U6-- --fX28osa257oBbkKJ4CTNqxdMEwmckrivD 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/ iQEcBAEBCAAGBQJYr0kQAAoJEKeha0olJ0NqJooH+gKCJCl+c4pdFiOpiqh6yZBH AAGLEdoXgLxtw8ENWGbl0b2ZYIDYTVYK9b/bdLFEjgTD0RbM2kWd1jHCE/7nr9Tq eXPfwcdD9r+SkWgofY9koR2TFPgv1wQtZTHuhardf0vs2y4QqvZJe6GETUu/FhQb 8+9+mOXMDXaVtDt2mZ34cEgXhphPRYBjwZxgg0Znn1El73nl+UScYghUzKF/zfND 1SsX5rshsY9zgcoxkjIm4Gb1cclciJ/mDsS5Hm7pwZCLixbDxKGl8bTAPYoynPSK 1GoRF9Hrq6YjLAuWkt9tkVwHuvwVAupU1n6mjc4neoogwSwnSUE55/mn3tRZ9LQ= =ny3k -----END PGP SIGNATURE----- --fX28osa257oBbkKJ4CTNqxdMEwmckrivD--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |