Re: Regular expressions question



On May 2, 3:53 pm, Kaitzschu
<kaitzs...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
On Fri, 2 May 2008, Aric Bills wrote:
string map [list %n $catnum] {\(%n\)}

Oh, no, no,
format {\(%s\)} $catnum
it ought to be :)

--
-Kaitzschu
s="TCL ";while true;do echo -en "\r$s";s=${s:1:${#s}}${s:0:1};sleep .1;done

"Good thing programmers don't build bridges
[the same way as Kaitzschu writes code]."
--John Kelly in comp.lang.tcl

Yeah, that's quite nice.
.



Relevant Pages

  • Re: lassign
    ... How about Tcl 8.5, does it have anything like this? ... "Good thing programmers don't build bridges ... [the same way as Kaitzschu writes code]." ...
    (comp.lang.tcl)
  • Re: uplevel #0 source
    ... uplevel #0 source [file join $dir file.tcl] ... "Good thing programmers don't build bridges ... [the same way as Kaitzschu writes code]." ...
    (comp.lang.tcl)
  • Re: lassign
    ... "Good thing programmers don't build bridges ... [the same way as Kaitzschu writes code]." ... I do agree that bridges should not be built the way I write code. ... I often try to consider all ) possibilities, but most of the time just to find out later that my bridge is either under water at high tide, too heavy to sustain itself, or ends in the middle of the river. ...
    (comp.lang.tcl)
  • Re: How to read the last 100 lines from a text file
    ... On Jun 30, 12:35 pm, Kaitzschu ... "Good thing programmers don't build bridges ... keeping it in a proc, and then wonder why his code fails further on. ...
    (comp.lang.tcl)
  • Re: [puts] errors (std)out
    ... This baby is now tracker id 1943546. ... "Good thing programmers don't build bridges ... [the same way as Kaitzschu writes code]." ...
    (comp.lang.tcl)