From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22956 invoked from network); 16 Jan 2009 19:24:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00, DATE_IN_PAST_12_24 autolearn=no version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Jan 2009 19:24:28 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 46906 invoked from network); 16 Jan 2009 19:24:21 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Jan 2009 19:24:21 -0000 Received: (qmail 10543 invoked by alias); 16 Jan 2009 19:24:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26324 Received: (qmail 10531 invoked from network); 16 Jan 2009 19:24:15 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 16 Jan 2009 19:24:15 -0000 Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by bifrost.dotsrc.org (Postfix) with ESMTP id 3223B80271F0 for ; Fri, 16 Jan 2009 20:24:11 +0100 (CET) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090116192411.QSQP4080.mtaout02-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Fri, 16 Jan 2009 19:24:11 +0000 Received: from pws-pc.ntlworld.com ([81.107.45.176]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090116192411.TJGV19264.aamtaout01-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Fri, 16 Jan 2009 19:24:11 +0000 Received: from pws-pc (pws-pc [127.0.0.1]) by pws-pc.ntlworld.com (8.14.3/8.14.2) with ESMTP id n0FKYRAq016889 for ; Thu, 15 Jan 2009 20:34:27 GMT Message-Id: <200901152034.n0FKYRAq016889@pws-pc.ntlworld.com> From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: treatment of empty strings - why is this not a bug? In-Reply-To: Message from Greg Klanderman of "Thu, 15 Jan 2009 15:28:11 EST." Date: Thu, 15 Jan 2009 20:34:27 +0000 X-Cloudmark-Analysis: v=1.0 c=1 a=b9lWrR2ZfKoA:10 a=7862LJqnZcQA:10 a=NLZqzBF-AAAA:8 a=H6PCSI7aUtCnOtXsWrQA:9 a=mLUnInfcLpORNwWVBBqz7RbBNUUA:4 a=SKpDKCWXRSQA:10 X-Virus-Scanned: ClamAV 0.92.1/8872/Fri Jan 16 17:55:46 2009 on bifrost X-Virus-Status: Clean Greg Klanderman wrote: > Hi Peter, also could you please address my original question: when the > decision that unquoted parameter expansions in zsh should not undergo > field splitting was made, why was the behavior of dropping empty > strings retained? No idea; this is very ancient history right from the shell's origins. It's useful to be able to do this separately from splitting words, but that's not an answer. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/