delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/26/10:14:15

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=bk+AtfH7N4ZhjS6Q
hlzojigA+CFLygZBaUeBDzkhqkEJ6gRYV/DZGVuo4v8GhQanxTLc7ASqnHt0wiWW
iDQG/d7YnqwZaVur3/ETgrUfMYMNdsnVh1q8GkeSEokkYYDPr8R4OQSpoSc0JWUN
nY7OqUgqTFemKoMZR0/it5yswDY=
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=teSZRKPWpICCti3ADoXb+o
9M6TY=; b=faEbKCIsgWOBEnN8MSzrW/zmB8LM3AlnG+waxPFc1Fzj+LcduSkNhj
3bLXQLFPkoIiHR1S0kYOsxCoFTU90gPFY6CiHqcDseYcOFXVlcrp5rtyTczQG93k
byG5ELcviCJZjigj/MUG6+cohi4aQvhDiNSPSmzbq0jl0i6CtDhnU=
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.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
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)
Subject: Re: /bin/sh is not really bash? [was: git stash damaged?]
To: cygwin AT cygwin DOT com
References: <79a57b23-6050-e3d6-3cc9-776eade485af AT SystematicSw DOT ab DOT ca> <1939fb92-8d67-4861-d7c8-5f5abca68496 AT anyces DOT com> <699a278b-af6e-da03-f087-008b3d8317c0 AT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <f7a5190c-4959-6b6c-9efd-435339853329@gmail.com>
Date: Thu, 26 Jan 2017 16:13:44 +0100
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>
X-IsSubscribed: yes

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

- Raw text -


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