From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22438 invoked from network); 11 Oct 2005 15:06:59 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Oct 2005 15:06:59 -0000 Received: (qmail 64491 invoked from network); 11 Oct 2005 15:06:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Oct 2005 15:06:53 -0000 Received: (qmail 670 invoked by alias); 11 Oct 2005 15:06:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21868 Received: (qmail 661 invoked from network); 11 Oct 2005 15:06:50 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 11 Oct 2005 15:06:50 -0000 Received: (qmail 64215 invoked from network); 11 Oct 2005 15:06:50 -0000 Received: from cluster-c.mailcontrol.com (HELO rly14c.srv.mailcontrol.com) (168.143.177.190) by a.mx.sunsite.dk with SMTP; 11 Oct 2005 15:06:48 -0000 Received: from exchange03.csr.com (mailhost1.csr.com [81.105.217.43]) by rly14c.srv.mailcontrol.com (MailControl) with ESMTP id j9BF6jge010160 for ; Tue, 11 Oct 2005 16:06:45 +0100 Received: from csr.com ([10.103.143.38]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 11 Oct 2005 16:08:49 +0100 To: zsh-workers@sunsite.dk Subject: Re: [bug] backslash stripped in sh/ksh emulation In-reply-to: <1051011144343.ZM14474@candle.brasslantern.com> References: <20051011083842.GA5380@sc> <20051011123624.70fc9626.pws@csr.com> <1051011144343.ZM14474@candle.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Tue, 11 Oct 2005 14:43:42 -0000." Date: Tue, 11 Oct 2005 16:06:45 +0100 From: Peter Stephenson Message-ID: X-OriginalArrivalTime: 11 Oct 2005 15:08:49.0986 (UTC) FILETIME=[AF714A20:01C5CE75] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-05-40-00 (www.mailcontrol.com) on 10.67.0.124 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) 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.0.4 Bart Schaefer wrote: > On Oct 11, 12:36pm, Peter Stephenson wrote: > } > } So I've introduced a variant of Bnull, the ghost of a backslash, called > } Bnullkeep. > > I was a bit skeptical of this when I read the description, but looking at > the patch I think it's actually OK. This shouldn't change anything when > GLOB_SUBST is not set, right? Yes, that's why I picked shtokenize(): it seems to be tied to GLOB_SUBST. > } (It's just possible we could get away with only using Bnullkeep by suitable > } changes, simplifying the code a bit.) > > Did you mean "only using Bnull"? Otherwise I don't follow. What I meant is that it may be possible to use only the new code, so that all Bnull-style efforts are only removed right at the last minute, including any which are currently Bnull. However, I haven't thought this through. pws This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com