From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28853 invoked by alias); 23 Feb 2017 22:05:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 28290 invoked by uid 89); 23 Feb 2017 22:05:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, Hx-languages-length:1124, H*F:D*yandex.ru X-HELO: forward1j.cmail.yandex.net Received: from forward1j.cmail.yandex.net (HELO forward1j.cmail.yandex.net) (5.255.227.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 Feb 2017 22:05:07 +0000 Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [37.140.190.28]) by forward1j.cmail.yandex.net (Yandex) with ESMTP id 5597A20C46; Fri, 24 Feb 2017 01:05:05 +0300 (MSK) Received: from smtp3o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id B99ED2940E4E; Fri, 24 Feb 2017 01:05:04 +0300 (MSK) Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OArXum4uNl-54602QDw; Fri, 24 Feb 2017 01:05:04 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 23 Feb 2017 21:50:08 -0000 Date: Thu, 23 Feb 2017 22:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1225366877.20170224005008@yandex.ru> To: Steven Penny , cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1 In-Reply-To: <58af3c19.01309d0a.781cc.afce@mx.google.com> References: <1835159156.20170223203808@yandex.ru> <58af3c19.01309d0a.781cc.afce@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00297.txt.bz2 Greetings, Steven Penny! > On Thu, 23 Feb 2017 20:38:08, Andrey Repin wrote: >> $ cat /etc/postinstall/zp_dash-as-bin-sh.dash >> #!/bin/dash >> test ! -h /bin/sh.exe && { >> _f="$(mktemp /bin/sh.XXXXXX)" >> { >> mv /bin/sh.exe "$_f" >> ln -s /bin/dash.exe /bin/sh.exe >> } || mv "$_f" /bin/sh.exe >> rm "$_f" >> } >> exit 0 > This is a bad idea. This is only bad idea for people assuming too much. > 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, In fact, you should use specific shell name, if you want specific behavior. > 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. The big question remains, where this speed boost coming from? Is this a startup time? Or some internal slowness? Because in latter case, given your STC, this is a bash issue and should be reported upstream. -- With best regards, Andrey Repin Friday, February 24, 2017 00:47:31 Sorry for my terrible english... -- 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