From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23787 invoked by alias); 19 Oct 2012 08:14:14 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17332 Received: (qmail 17179 invoked from network); 19 Oct 2012 08:14:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at linux.vnet.ibm.com does not designate permitted sender hosts) Date: Fri, 19 Oct 2012 16:03:15 +0800 From: Han Pingtian To: zsh-user Subject: flag z won't cause forced joining? Message-ID: <20121019080315.GB6056@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12101908-5930-0000-0000-00000D36F58B Hi, I just found that it looks like the z flag won't cause "forced joining" which stated in rules 10, like this: % typeset -a arr;arr[1]=foo;arr[2]=\'bar;arr[3]=baz\';print -l ${(z)arr} foo 'bar baz' % typeset -a arr;arr[1]=foo;arr[2]=\'bar;arr[3]=baz\';print -l ${(z)"${arr}"} foo 'bar baz' % Not sure is it a problem. Please help. Thanks in advance.