From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24186 invoked by alias); 24 Jun 2015 06:03:24 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35582 Received: (qmail 5990 invoked from network); 24 Jun 2015 06:03:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=fG6iXy2pRtOXer/fBLQ0uh++2ZmsgcSY06zh0yz1KAU=; b=jumpWzgjrfNx86aPyL///G6eG/hz3MUbR9ZzA2WUPf+MDK97POM8f19ORuMsjeWAk+ S/HIqwE46oTSz2EbFyxfpJqJ/knwHjuZbLY+HsNISaovlBiv3uomMZ21pOM2u3rR/bxu di8ySE+QMjLyf3pOPe6eB31cIF+CZm8FEeUx5DTfh8+L358POTuw5miACuSXxwLwO82r 1SOh03m3ftQx746iou2wxVKq8BejVjrrCgv6AEk+xWMXebxnvwSFBwojJUGbEL3uBduE Qp5DPue/JPVd/o22pUAsJwpeobVKZpxQFakEFINEscR8HLfy4bIHtwGuMSOODNAf84cV JQag== X-Gm-Message-State: ALoCoQlxCAnbKjwP31TbzALGb2ep4I9c1XgyzntwW2Ff0X/caovCbOGhkKC6aLfg05zuU8XbGos8 X-Received: by 10.60.54.72 with SMTP id h8mr18637198oep.42.1435125801643; Tue, 23 Jun 2015 23:03:21 -0700 (PDT) From: Bart Schaefer Message-Id: <150623230317.ZM13225@torch.brasslantern.com> Date: Tue, 23 Jun 2015 23:03:17 -0700 In-Reply-To: <150623183520.ZM6551@torch.brasslantern.com> Comments: In reply to Bart Schaefer "typeset -p with assoc array (was Re: Typeset with array)" (Jun 23, 6:35pm) References: <5578996E.3080700@thequod.de> <150610191427.ZM30841@torch.brasslantern.com> <5579C247.1060800@thequod.de> <150611183639.ZM32247@torch.brasslantern.com> <20150612094237.338f79d5@pwslap01u.europe.root.pri> <20150619123930.2688d9e3@pwslap01u.europe.root.pri> <20150621210512.113577a6@ntlworld.com> <20150621213842.621886e0@ntlworld.com> <20150623174719.43eaa1e2@pwslap01u.europe.root.pri> <150623131706.ZM6164@torch.brasslantern.com> <150623183520.ZM6551@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Zsh Hackers' List" Subject: Re: typeset -p with assoc array (was Re: Typeset with array) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Here are Test/* changes to go with workers/35581 in case we want it. diff --git a/Test/A06assign.ztst b/Test/A06assign.ztst index a4401cb..302659c 100644 --- a/Test/A06assign.ztst +++ b/Test/A06assign.ztst @@ -430,7 +430,7 @@ 0:GLOB_ASSIGN with numeric types >typeset -i i=0 >typeset -a n ->n=(tmpfile1 tmpfile2) +>n=( tmpfile1 tmpfile2 ) >typeset x=tmpfile2 >typeset -E f=4.000000000e+00 diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst index 57a7caa..057f74b 100644 --- a/Test/B02typeset.ztst +++ b/Test/B02typeset.ztst @@ -451,7 +451,7 @@ fn 1:declare -p shouldn't create scoped values >typeset -a array ->array=(foo bar) +>array=( foo bar ) ?fn:typeset: no such variable: nonexistent unsetopt typesetsilent @@ -502,9 +502,9 @@ typeset -pm 'r[12]' 0:readonly -p output >typeset -a a1 ->a1=(one two) +>a1=( one two ) >typeset -ar a1 >typeset -a a2 ->a2=(three four) +>a2=( three four ) >typeset -r r1=yes >typeset -r r2=no