From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5698 invoked from network); 11 May 2001 19:22:42 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 May 2001 19:22:42 -0000 Received: (qmail 4973 invoked by alias); 11 May 2001 19:22:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14318 Received: (qmail 4959 invoked from network); 11 May 2001 19:22:35 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: order of processing in brace expansion References: <1010502163010.ZM15909@candle.brasslantern.com> Reply-to: apoindex@aoc.nrao.edu From: Allan Poindexter Date: 11 May 2001 13:22:31 -0600 In-Reply-To: "Bart Schaefer"'s message of "Wed, 2 May 2001 16:30:10 +0000" Message-ID: X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Acadia" Bart> There's no mention of brace expansion there anywhere, and braces are Bart> not expanded in "a pattern" for most senses of "pattern" elsewhere in Bart> the doc; on the other hand, for command substitutions, it's not even Bart> supposed to tokenize a leading `~' or `=', which it obviously does Bart> anyway: I confess that conforming to the docs is a good thing. OTOH I don't see any way to parameterize patterns for brace expansion if this is done. (E.g. setting a parameter in a script to a pattern that will be used in brace expansion in several places and which may need to be changed from time to time. IMO is a good thing to be able to do). Am I overlooking something? Is there some other way to do this?