From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16475 invoked from network); 12 Jan 2006 13:01:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 12 Jan 2006 13:01:36 -0000 Received: (qmail 10014 invoked from network); 12 Jan 2006 13:01:27 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 12 Jan 2006 13:01:27 -0000 Received: (qmail 2712 invoked by alias); 12 Jan 2006 13:01:17 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9830 Received: (qmail 2702 invoked from network); 12 Jan 2006 13:01:16 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 12 Jan 2006 13:01:16 -0000 Received: (qmail 8889 invoked from network); 12 Jan 2006 13:01:16 -0000 Received: from ykdmp01.yokohama.riken.go.jp (HELO ykdmp01.yokohama.riken.jp) (134.160.82.30) by a.mx.sunsite.dk with SMTP; 12 Jan 2006 13:01:13 -0000 Received: (qmail 83065 invoked by uid 98); 12 Jan 2006 13:01:11 -0000 Received: from 134.160.84.23 by ykdmp01.yokohama.riken.jp (envelope-from , uid 82) with qmail-scanner-1.25 (sophie: 3.04/2.31/3.98. spamassassin: 3.1.0. Clear:RC:1(134.160.84.23):. Processed in 0.027434 secs); 12 Jan 2006 13:01:11 -0000 Received: from unknown (HELO jota.gsc.riken.go.jp) (134.160.84.23) by ykdmp01.yokohama.riken.go.jp with SMTP; 12 Jan 2006 13:01:11 -0000 Received: from [10.64.65.5] (ipm04.gsc.riken.go.jp [134.160.83.74]) by jota.gsc.riken.go.jp (Postfix) with ESMTP id 0D1B834854DF; Thu, 12 Jan 2006 22:01:11 +0900 (JST) In-Reply-To: <10756.1137069559@logicacmg.com> References: <36947C4E-7C19-4BB5-A43B-EC8D3EF0713A@jota.gsc.riken.go.jp> <1060112014126.ZM717@candle.brasslantern.com> <6DC50D24-618F-4531-BA06-0F31570283C1@jota.gsc.riken.go.jp> <0852320A-7790-45A1-9BE5-8B7AB27BD107@jota.gsc.riken.go.jp> <10756.1137069559@logicacmg.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <435E6B65-B88E-41E3-8B51-71B16269BBFC@jota.gsc.riken.go.jp> Cc: zsh-users@sunsite.dk Content-Transfer-Encoding: 7bit From: Wataru Kagawa Subject: Re: joining array elements Date: Thu, 12 Jan 2006 22:01:10 +0900 To: Oliver Kiddle X-Mailer: Apple Mail (2.746.2) Hi Oliver, Yes! $~~foo did the trick. I am grateful to all the helpful advices. Thanks again. Wataru Kagawa On 2006/01/12, at 21:39, Oliver Kiddle wrote: > Wataru Kagawa wrote: >> foo=$( printf '%s\n' David Matt ${(j:[return]:)~~usernames} ) >> gives me no output (with the 'nullglob' option set). > > It works for me. How are you going about inspecting the value of the > variable foo after this? > > try > echo $~~foo > or > typeset -p foo > > Oliver > > > This e-mail and any attachment is for authorised use by the > intended recipient(s) only. It may contain proprietary material, > confidential information and/or be subject to legal privilege. It > should not be copied, disclosed to, retained or used by, any other > party. If you are not an intended recipient then please promptly > delete this e-mail and any attachment and all copies and inform the > sender. Thank you.