Re: [tclwebtest] Fix for a rare redirection problem with eval
Status: Abandoned
Brought to you by:
tils
From: Grzegorz A. H. <gr...@ef...> - 2003-08-26 07:48:49
|
On 2003-08-25, Grzegorz Adam Hankiewicz <gr...@ef...> wrote: > On 2003-08-22, Tilmann Singer <ti...@ti...> wrote: > > [...] You mind trying this new syntax? > [...] > > invalid command name "one_req" > > while executing > > "one_req" > > ("eval" body line 1) > > invoked from within > > "eval do_request $nocomplain_option $followequiv_option $location" > > (procedure "do_request" line 134) > > invoked from within > > [...] Simple shell tests fail too: $ tclsh % set ugh "Don't; like this" Don't; like this % eval puts $ugh Don't invalid command name "like" % set cmd [list puts $ugh] puts {Don't; like this} % eval $cmd Don't; like this % eval puts {$ugh} Don't; like this I think that the solution with braces would be ok if there were no empty parameters. In order to check which are empty or not, the proposed solution of building a list seems equally easy. I'm short of other suggestions. -- Grzegorz Adam Hankiewicz, gr...@ef.... Tel: +34-94-472 35 89. eFaber SL, Maria Diaz de Haro, 68, 2 http://www.efaber.net/ 48920 Portugalete, Bizkaia (SPAIN) |