Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug with chpwd/allexport (plus expansion/substitution remarks)
- X-seq: zsh-workers 4251
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: bug with chpwd/allexport (plus expansion/substitution remarks)
- Date: Fri, 24 Jul 1998 09:03:49 -0700
- In-reply-to: <980723133029.ZM1154@xxxxxxxxxxxxxxxxxxxxxxx>
- References: <H0000bb106ed95d2@MHS> <35AF512B.2905@xxxxxx> <199807171342.OAA09593@xxxxxxxxxxxxxxxx> <H0000bb106ef5312@MHS> <35AF5FB5.25F5@xxxxxx> <199807171454.PAA10393@xxxxxxxxxxxxxxxx> <H0000bb106effa42@MHS> <35AF70DA.D64A4FEC@xxxxxx> <980723133029.ZM1154@xxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author