From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123179 invoked by alias); 13 Jan 2017 20:00:20 -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 123141 invoked by uid 89); 13 Jan 2017 20:00:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=CentOS X-HELO: mail-pf0-f196.google.com Received: from mail-pf0-f196.google.com (HELO mail-pf0-f196.google.com) (209.85.192.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Jan 2017 20:00:04 +0000 Received: by mail-pf0-f196.google.com with SMTP id f144so9632589pfa.2 for ; Fri, 13 Jan 2017 12:00:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:reply-to:to:subject:message-id:date :user-agent:mime-version:content-transfer-encoding; bh=bJNP0IwEfGon8apZZCV5PAaU2Wp7gGvQ9I5WEy5cq84=; b=s1PwY8i6dgc9pBToOAAZCFAFNRtan2oZWR/zgJJp8XjwPNLyyBsodhsNImJ1kE6JJX /SzuuinoevFh2jc3oCOt7GSRbJXI7ibryN+XU2Eq15fpL6WBtigs6+H3G7fKjEGUmsSa WfI74tNtgNkXsffvPQg09+D1DUz4PhpAIrYA9O+G7hEUnAjR2F4Q+98UaTqmyYi3p6pG w7GUAkP2o+0I4iM9rPqjStVgXr3jrC7ws6COV1H8f5D4QcrRqERlsujCNriA5fSR0tTw 7bgjELGSNrIfyssvIEdsoEQvIl8LPFSey/pcEspSfHhfYin/ua5XzbiAHXzHYPGEEnbN wWwQ== X-Gm-Message-State: AIkVDXIL4bbKyyztyPQYd/J8fQQQ/VMVyhJYl7+t4TH58yDZaugogFnY+uwTdi9oxfrhMg== X-Received: by 10.98.56.196 with SMTP id f187mr24826774pfa.131.1484337602657; Fri, 13 Jan 2017 12:00:02 -0800 (PST) Received: from [10.0.1.127] (ip72-209-49-95.ri.ri.cox.net. [72.209.49.95]) by smtp.gmail.com with ESMTPSA id y12sm31084010pfg.81.2017.01.13.12.00.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 12:00:02 -0800 (PST) From: "Matt D." X-Google-Original-From: "Matt D." Reply-To: codespunk+cygwin@gmail.com To: cygwin@cygwin.com Subject: Bash declare built-in regression loses array quotations Message-ID: <587931C1.5060509@gmail.com> Date: Fri, 13 Jan 2017 20:00:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-01/txt/msg00151.txt.bz2 I updated yesterday to the latest Cygwin x86 release which included an updated Bash 4.4.5(1). This release changes the default behavior of the built-in 'declare' command which is causing scripts which relied on this functionality to break. The following test will illustrate the change: declare -A list list[a]=1 list[b]=2 list[c]=3 declare -p | grep list= On Bash 4.4.5(1) the output is: declare -A list=([a]="1" [b]="2" [c]="3" ) Previously the result was: declare -A list='([a]="1" [b]="2" [c]="3" )' I can confirm that this has always been the expected output when running this command on Cygwin and Linux. I run CentOS which does not track the latest Bash release and I don't know the procedure to check whether this is an upstream regression or not. I have rolled back to Bash 4.3.48-8 which has restored the previous functionality. Please advise. Matt D. -- 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