From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28389 invoked from network); 17 Jan 2009 03:45:52 -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.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham 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; 17 Jan 2009 03:45:52 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 93452 invoked from network); 17 Jan 2009 03:45:50 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jan 2009 03:45:50 -0000 Received: (qmail 28605 invoked by alias); 17 Jan 2009 03:45:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26331 Received: (qmail 28591 invoked from network); 17 Jan 2009 03:45:44 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 17 Jan 2009 03:45:44 -0000 Received: from vms173009pub.verizon.net (vms173009pub.verizon.net [206.46.173.9]) by bifrost.dotsrc.org (Postfix) with ESMTP id CE5DB80271F0 for ; Sat, 17 Jan 2009 04:45:41 +0100 (CET) Received: from torch.brasslantern.com ([96.238.220.215]) by vms173009.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0KDL0086CJJZMI55@vms173009.mailsrvcs.net> for zsh-workers@sunsite.dk; Fri, 16 Jan 2009 21:40:52 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id n0H3jUrw022440 for ; Fri, 16 Jan 2009 19:45:30 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id n0H3jTTY022439 for zsh-workers@sunsite.dk; Fri, 16 Jan 2009 19:45:29 -0800 Date: Fri, 16 Jan 2009 19:45:29 -0800 From: Bart Schaefer Subject: Re: treatment of empty strings - why is this not a bug? In-reply-to: To: zsh-workers@sunsite.dk Message-id: <090116194529.ZM22438@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <18796.17298.94642.461735@gargle.gargle.HOWL> <090115201912.ZM20275@torch.brasslantern.com> <200901161755.n0GHt4aT025943@news01.csr.com> Comments: In reply to Greg Klanderman "Re: treatment of empty strings - why is this not a bug?" (Jan 16, 2:40pm) X-Virus-Scanned: ClamAV 0.92.1/8872/Fri Jan 16 17:55:46 2009 on bifrost X-Virus-Status: Clean On Jan 16, 2:40pm, Greg Klanderman wrote: } } If the NO_SH_WORD_SPLIT default is only to be the source of subtle } bugs and not actually useful, then it should be removed. I'd suggest that if the shell has been behaving this way for more than 15 years now, and a majority of its users consider the behavior to be useful, that perhaps asserting that it is "only" a source of subtle bugs is a tad presumptive. } I don't see any reason you'd } ever want the current behavior in a new script, and any existing } script should just emulate to the broken behavior. That's exactly backwards from the philosophy that zsh development has always followed.