From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61083 invoked by alias); 26 Jan 2017 15:13:53 -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 61069 invoked by uid 89); 26 Jan 2017 15:13:52 -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_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*i:sk:699a278, H*MI:sk:699a278, H*f:sk:699a278 X-HELO: mail-wm0-f45.google.com Received: from mail-wm0-f45.google.com (HELO mail-wm0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jan 2017 15:13:51 +0000 Received: by mail-wm0-f45.google.com with SMTP id r144so89242290wme.1 for ; Thu, 26 Jan 2017 07:13:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=b7GFV2Nj7mzrfCdKr4/7YgRue0H8sx+Vd18+YKD0Pag=; b=JnyLOvifZlwvDbFFpbMjhVtfpxV8fmmxMtWMecaHFxBpQVFZEnAPdv+lVjavLBdyey VvzNrAryfA2GwtP4JIES3m8USaJrwGhRAUGlKCDhaqEzD6dGNF7wdzEUlJjaHTWmXFOu UwxivXxb5b0C2qFntWW53eAo7oZ+NQJWNcotG2YDXnftqQIycvPiFxUaID9/BZ/ZINjo RBo9p9RHEYD8zSQIc6FxLDjxjHkD7O0o6zrdqiPkLgR4JbUnzzIy1BSVpyMxNLDHNABk ZkeDS6K33AvhRAF0vfLI0G8S8q+IgEISJZs9aNGT+r1g1w1pJXpwJTjmuT3/aU290MpY ZKIw== X-Gm-Message-State: AIkVDXKIfKvN8uagDwfZDVrQhWacgQk+s/IiczJu7uGaoKp/SFIFv4AbQxYX+1G1yeX20Q== X-Received: by 10.28.146.12 with SMTP id u12mr3186602wmd.113.1485443628897; Thu, 26 Jan 2017 07:13:48 -0800 (PST) Received: from [172.21.188.226] ([62.154.173.198]) by smtp.googlemail.com with ESMTPSA id c9sm4176107wmi.16.2017.01.26.07.13.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jan 2017 07:13:48 -0800 (PST) Subject: Re: /bin/sh is not really bash? [was: git stash damaged?] To: cygwin@cygwin.com References: <79a57b23-6050-e3d6-3cc9-776eade485af@SystematicSw.ab.ca> <1939fb92-8d67-4861-d7c8-5f5abca68496@anyces.com> <699a278b-af6e-da03-f087-008b3d8317c0@gmail.com> From: Marco Atzeri Message-ID: Date: Thu, 26 Jan 2017 15:13:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <699a278b-af6e-da03-f087-008b3d8317c0@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00318.txt.bz2 On 26/01/2017 15:20, cyg Simple wrote: > On 1/26/2017 5:52 AM, Olivier FAURAX wrote: >> Le 20/01/2017 à 16:20, Brian Inglis a écrit : >> >> Also, the previous link says that "/bin/sh is really bash", but: >> $ /bin/sh --version >> >> $ /bin/bash --version >> GNU bash, version 4.3.48(8)-release (x86_64-unknown-cygwin) >> >> Is this expected? >> > > No. > > $ sh --version > GNU bash, version 4.3.48(8)-release (x86_64-unknown-cygwin) > > You might want to check what your /bin/sh actually is or perhaps just > remove it and set the symlink yourself. > e.g. $ type sh sh is hashed (/usr/bin/sh) $ sh --version GNU bash, version 4.4.11(2)-release (x86_64-unknown-cygwin) -- 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