Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	autolearn_force=no version=3.4.0
X-AuditID: cbfec7f5-f79b16d000005389-77-569cb3480b32
Date: Mon, 18 Jan 2016 09:41:29 +0000
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: bufferwords() lexes a subshell in a shortloop repeat as a string
Message-id: <20160118094129.260a60ae@pwslap01u.europe.root.pri>
In-reply-to: <160117144635.ZM3583@torch.brasslantern.com>
References: <20160115062648.GA14019@tarsus.local2>
 <20160115094117.5fcde75c@pwslap01u.europe.root.pri>
 <160115112516.ZM21347@torch.brasslantern.com>
 <20160117181647.49899357@ntlworld.com>
 <160117144635.ZM3583@torch.brasslantern.com>
Organization: Samsung Cambridge Solution Centre
X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu)
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Brightmail-Tracker:
 H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsVy+t/xq7oem+eEGWx5a2JxsPkhkwOjx6qD
	H5gCGKO4bFJSczLLUov07RK4Mv5s285c8JitYsuEygbG2axdjJwcEgImEt0P9rFB2GISF+6t
	B7K5OIQEljJKHJl8mhnCmcEk0TWtkR3COcco0fj6MyOEc5ZR4tiFzywg/SwCqhK7Hk9lBLHZ
	BAwlpm6aDWaLCIhLnF17HqxGWMBXYlL/cXYQm1fAXmJd536wOzgFLCU2TeiEGvqBUWLKo36w
	o/gF9CWu/v3EBHGgvcTMK2cYIZoFJX5Mvgc2lFlAS2LztiZWCFteYvOat8wgtpCAusSNu7vZ
	JzAKz0LSMgtJyywkLQsYmVcxiqaWJhcUJ6XnGukVJ+YWl+al6yXn525ihAT01x2MS49ZHWIU
	4GBU4uF1ODs7TIg1say4MvcQowQHs5IIb/D6OWFCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeWfu
	eh8iJJCeWJKanZpakFoEk2Xi4JRqYPR4os0/ceKkpBjvAwu8Fm/Xe+8febXrxS5BVs/VH652
	XTsjuK57k9dak3lZkfrT3Bvv1XHpisrO4lP/MH3Sq93sV1ijNIxznl09njDlivnWr7Ipt46b
	tZU96PzPyJLtbnYz+uiSLR+v3Fb4O/vc38AgzWnB83KaVh9Ufrh0c1RjmTnbk9e/p9krsRRn
	JBpqMRcVJwIATZVrQWQCAAA=
X-Seq: zsh-workers 37670

On Sun, 17 Jan 2016 14:46:35 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Jan 17,  6:16pm, Peter Stephenson wrote:
> } Subject: Re: bufferwords() lexes a subshell in a shortloop repeat as a str
> }
> } On Fri, 15 Jan 2016 11:25:16 -0800
> } Bart Schaefer <schaefer@brasslantern.com> wrote:
> } > On Jan 15,  9:41am, Peter Stephenson wrote:
> } > } Subject: Re: bufferwords() lexes a subshell in a shortloop repeat as a str
> } > }
> } > } it's just splitting words, and (... ...) indeed works as a complete word
> } > 
> } > Urk.  That probably ought to be disabled, at least in shell emulation,
> } > e.g. here is bash:
> } 
> } shwordsplit does this.  (I thought it would be shglob, but it isn't.)
> 
> Hrm.  I see no evidence of that.

I'm not sure what it is you're not doing, but that's not what I get
with ARGV0=sh...

pws

