From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25389 invoked from network); 24 Jul 1998 16:12:19 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 24 Jul 1998 16:12:19 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id MAA21346; Fri, 24 Jul 1998 12:02:20 -0400 (EDT) Resent-Date: Fri, 24 Jul 1998 12:02:20 -0400 (EDT) From: "Bart Schaefer" Message-Id: <980724090349.ZM5028@candle.brasslantern.com> Date: Fri, 24 Jul 1998 09:03:49 -0700 In-Reply-To: <980723133029.ZM1154@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: bug with chpwd/allexport (plus expansion/substitution remarks)" (Jul 23, 1:30pm) References: <35AF512B.2905@hp.com> <199807171342.OAA09593@taos.demon.co.uk> <35AF5FB5.25F5@hp.com> <199807171454.PAA10393@taos.demon.co.uk> <35AF70DA.D64A4FEC@hp.com> <980723133029.ZM1154@candle.brasslantern.com> X-Mailer: Z-Mail (4.0b.820 20aug96) To: zsh-workers@math.gatech.edu Subject: Re: bug with chpwd/allexport (plus expansion/substitution remarks) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"dB_b71.0.TD5.B0Bkr"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4251 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jul 23, 1:30pm, Bart Schaefer wrote: } Subject: Re: bug with chpwd/allexport (plus expansion/substitution remarks } } Or perhaps you mean "what quotings are recognized in the replacement text } that results from which substitutions/expansions?" Again, the answer is } that none are. Expansions (except alias expansion, but including history, } now that the old lexical history options are gone) are already tokenized I apologize; this is not entirely accurate. History is expanded whenever the lexer requests the next character of input; aliases are expanded after the lexer has recognized an unquoted word, but before that word is checked against the reserved words. History is "tokenized" in the sense that it is stored as an array of words, but those words are rescanned by the lexer when expanded. I'm surprised Zefram and PWS didn't jump on me for this one. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com