X-Recipient: archive-cygwin@delorie.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=CetATMLIc4ts35I3yZXa4sKmhwQzR
	JQ35L3Ba5cExlHepESymLCS+VKQ8mbm6qICSIjK4E+/kmBCMotsILWJbRDCUvdyI
	7i/k3Xiaxb2cM+vj6P8G3bb0vg0rvdg+UFcTyaWxN9BbFvsfR6w5nKqap2PswhbU
	czw99L7JO32wHs=
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=R6vb/eOWEh6PrYtThwqE8EoB7jA=; b=gYN
	irBGUw0flatbKek5hqOBC/G5gIVTudZ9DW+F5ouXv50FmP0arnNr65g2Tv3+Xu5M
	X88X3gLtLVr0RzU/li4CPgwRlStGeKQIXHQpPV5evOAn3T40ehocE1GHF8ig+la7
	RH06lVEF6JWRyp5fJynZ9Ebc0YrzbIG4b9+Ue4m0=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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=rightfully, H*M:google
X-HELO: mail-oi0-f49.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=f2WN7N3fC8pfQzi1RkWtYNpVXgSYZCeUk3I0DFRtXNk=;        b=GdT1rCcF72vI4GwnCOUhkwICNVcx7XETYKBwroW53+w9zdI53LqPfTVC/7cOdvi2bU         4rAJ1pBahAmobIY/eBKReVXjSox4Em6DPUe5n8Oc6j07jO6Y9G4yshKfIQqUuptokzoL         ji50VzHQhuuS50L9MxAQMutNj971McqYitY0jlXtmhHfmWa8sIkwaIqDGeom4V4lgkK5         o9OsUmbnjmNQwEA8q9DISZU6VtUxdX5YkjXsZa9mq2LAlZ01geYtUPZqWuLcUul5jvJf         +0tyLHZBWobcsZ0hbDCFYMC0XtMwCTxWBJwDmIaHCHjFO8o1IlmjvYzVuXXjGjphfg6c         mJhg==
X-Gm-Message-State: AMke39nS0LU1I7fhAozTOgBRzCq3hDnjJ/kvST7qOWBhlbzEijKFA+gZLKx+r5vWw5urZQ==
X-Received: by 10.202.6.70 with SMTP id 67mr12843035oig.50.1487893494598;        Thu, 23 Feb 2017 15:44:54 -0800 (PST)
Message-ID: <58af73f6.57a8ca0a.9eea8.c76d@mx.google.com>
Date: Thu, 23 Feb 2017 15:44:54 -0800 (PST)
From: Steven Penny <svnpenn@gmail.com>
X-Google-Original-From: Steven Penny
Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.9.1-1
To: cygwin@cygwin.com
References: <74aa0c8b-c268-dbd4-88b7-cda78186f321@SystematicSw.ab.ca>
Content-Type: text/plain; charset=utf8; format=flowed
User-Agent: Tryst/2.0.1 (github.com/svnpenn/tryst)

On Thu, 23 Feb 2017 12:59:27, Brian Inglis wrote:
> Some people may continue to need or prefer using bash in POSIX mode.

You might know this already, but "Bash in POSIX mode" is not quite POSIX. For
example, arrays are not defined by POSIX:

http://mywiki.wooledge.org/Bashism#Arrays

Yes Bash even in POSIX mode handles them:

    $ bash --posix -c 'z=(2 3 4); echo ${z[2]}'
    4

Dash rightfully does not handle them:

    $ dash -c 'z=(2 3 4); echo ${z[2]}'
    dash: 1: Syntax error: "(" unexpected


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

