From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24662 invoked from network); 25 Oct 2006 15:56:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Oct 2006 15:56:15 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 3865 invoked from network); 25 Oct 2006 15:56:07 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Oct 2006 15:56:07 -0000 Received: (qmail 14554 invoked by alias); 25 Oct 2006 15:55:58 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10907 Received: (qmail 14545 invoked from network); 25 Oct 2006 15:55:57 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Oct 2006 15:55:57 -0000 Received: (qmail 2782 invoked from network); 25 Oct 2006 15:55:57 -0000 Received: from cluster-d.mailcontrol.com (217.69.20.190) by a.mx.sunsite.dk with SMTP; 25 Oct 2006 15:55:53 -0000 Received: from exchange03.csr.com (uuk202166.uk.customer.alter.net [62.189.241.194] (may be forged)) by rly24d.srv.mailcontrol.com (MailControl) with ESMTP id k9PFs1ud015881 for ; Wed, 25 Oct 2006 16:55:20 +0100 Received: from cameurexb01.EUROPE.ROOT.PRI ([10.100.137.61]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 25 Oct 2006 16:47:19 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Wed, 25 Oct 2006 16:39:15 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.7/8.13.4) with ESMTP id k9PFdFHA028839 for ; Wed, 25 Oct 2006 16:39:15 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.13.7/8.13.7/Submit) with ESMTP id k9PFdFib028835 for ; Wed, 25 Oct 2006 16:39:15 +0100 Message-Id: <200610251539.k9PFdFib028835@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-users@sunsite.dk Subject: Re: Passing parameters between noninteractive shells In-reply-to: <061025075843.ZM26348@torch.brasslantern.com> References: <20061025083114.GA29910@itl.waw.pl> <20061025104552.GA29921@parhelion.globnix.org> <061025075843.ZM26348@torch.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Wed, 25 Oct 2006 07:58:43 -0700." Date: Wed, 25 Oct 2006 16:39:14 +0100 From: Peter Stephenson X-OriginalArrivalTime: 25 Oct 2006 15:39:15.0912 (UTC) FILETIME=[BA56BC80:01C6F84B] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-07-06-60 (www.mailcontrol.com) on 10.68.0.134 Bart Schaefer wrote: > And, only in zsh and only with shwordsplit not set, > > $* == "$@" That's not quite true. Elision of zero-length arguments is not controlled by shwordsplit. % set -- a '' c % print -l $* a c % print -l "$@" a c -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php