Skip to content
Tcl Source Code Artifact [53f1a68366]
Login

Artifact [53f1a68366]

Artifact 53f1a6836635c884bd2fe2e26eed2f2e0435026a:

Ticket change [53f1a68366] - New ticket [2901433fffffffff|2901433fff] <i>documentation &quot;bug&quot; with Tcl.n</i>. by wjc on 2009-11-20 21:46:16.
D 2009-11-20T21:46:16
J assignee nobody
J cmimetype text/plain
J comment Tcl.n\ssays:\n\nIf\sa\sword\sstarts\swith\sthe\sstring\s“{*}”\sfollowed\sby\sa\snon-whitespace\scharacter,\sthen\sthe\sleading\s“{*}”\sis\sremoved\sand\sthe\srest\sof\sthe\sword\sis\sparsed\sand\ssubstituted\sas\sany\sother\sword.\sAfter\ssubstitution,\sthe\sword\sis\sparsed\sagain\swithout\ssubstitutions,\sand\sits\swords\sare\sadded\sto\sthe\scommand\sbeing\ssubstituted.\sFor\sinstance,\s“cmd\sa\s{*}{b\sc}\sd\s{*}{e\sf}”\sis\sequivalent\sto\s“cmd\sa\sb\sc\sd\se\sf”.\n\nAfter\stalking\swith\sdgp\son\sirc,\sand\strying\sto\sexplain\sthis\sto\ssomeone\shelping\sout\son\spartcl,\sI\sthink\sthis\sis\sa\sslight\sbug\sin\sthe\sdocs.\sGiven\sthe\sexample:\n\n%\sputs\s{*}{abc\\ndef}\nabc\ndef\n\nWe\scan\ssee\sthat\sthere\sis\sanother\sstep\shappening\shere,\sas\sa\sresult\sof\streating\sthe\sarguments\sto\sexpand\sas\sa\slist.\n\nI\swould\ssuggest\sperhaps\sthat\n\nthe\sword\sis\sparsed\sagain\swithout\ssubstitutions,\sand\sits\swords\n\nMight\sbe\smore\saccurate\sas:\n\nthe\sword\sis\sconverted\sto\sa\slist,\sand\sthe\selements\sof\sthat\slist\n\n(Bikeshedding\son\sthe\sactual\stext\swelcome,\sbut\sI\sthink\swe\sshould\smention\s"list"\sin\shere\ssomewhere.)
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter wjc
J subsystem None
J title documentation\s"bug"\swith\sTcl.n
J type Bug
K 2901433fffffffffffffffffffffffffffffffff
U wjc
Z 1fec299a8d5becac06e22848f340c0c5