Sujet : Re: Why do we need "eval"? (Expect question)
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.lang.tclDate : 13. Sep 2024, 05:32:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vc0f9n$ml8n$1@dont-email.me>
References : 1 2 3
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Kenny McCormack <
gazelle@shell.xmission.com> wrote:
ISTM that this {*} thing is a relatively recent addition to the langauge,
Not really, it was added in 8.5, which was released Feb 12, 2016 [1].
Although 2016 *is* relatively recent in regards to many expect scripts.
since Expect has been around for a long time, and most of the scripts that
do this sort of thing were written long ago.
Before 8.5, 'eval' was the way to perform the "splicing" that {*}
provides.
[1]
https://www.tcl.tk/software/tcltk/8.5.tml