| |
| |
| |
|
Page: 1 2
Comments:
<0> hi <0> how can i make a 1 secont breake in a function? <0> second <1> sleep 1000` <1> ? <0> oh <0> thx! <2> fAJJ0REGuuUL. <0> Tcl error [convert]: invalid command name "sleep" <0> what can i do? <3> ello <3> is there anyway to trick the command the "exec" runs to always return true ? <3> i keep getting Tcl error [search]: child process exited abnormally <4> is the 'bind pub' kind of like 'on *:TEXT:' for mirc? <4> u lazy farts
<5> lol <6> #eggtcl <5> too lazy to read topics <4> .. <4> has nothing to do with eggdrops <4> and my question didnt even make sense lol <6> there's probly some truth to that nickname <4> u should see my bot <6> u should see your shrink <4> say what <6> ... <6> canucks! <6> g'nite <4> they **** <7> is it possibe to print colored text to screen at the command line? <8> dont think so <8> well if command line supports <8> I guess it would be possible <7> how would i do so? <8> no idea <8> you should see the shells doc if there are any chars converted to colors, if there is support <8> I never heard of it but technically should be possible lol <8> I got some urls for you to look through <8> http://www.daniweb.com/techtalkforums/post30123.html#post30123 <8> http://groups.google.com/group/comp.os.linux.setup/msg/5257922c75718fb1?q=Bash+colors+xterm&hl=en&lr=&ie=UTF-8&rnum=1 <8> http://www.rage3d.com/board/showthread.php?p=1332584999 <8> anyone happen to know what I could use on apache 2.0 on windows for allowing tcl scripts to be parsed? <9> RIVET TCL <8> thats 1.3 <9> but it doesnt work with 2.0 <9> yea <8> ;p <9> in fact, I wanna know that too :) <8> websh works on 2.0 <9> ah <9> where can I download it ? <8> http://tcl.apache.org/websh/ <9> is there a binary ? <8> nope <9> damn <8> looking for it <8> dont feel like compiling myself <8> there is a visual studio makefile <9> oh <8> cant find a precompiled one <9> damn <9> coding with websh seems pretty ****ty <8> seems ok <8> why? <9> dont like the codin dunno why <8> the web commands? <9> yea <8> I probably wont be using them anyway <9> like web::put <8> gvim seems like a nice editor on windows <8> but the syntax colors **** <8> lol <9> haha <8> specially with php <9> yeah <9> damn i want rivet to work with apache 2.0
<9> that'll be so perfect <8> yeah <10> hello <8> hi <10> i've been testing regsub now and i have one question about it.. how can i reference to e.g (.+?)-match from the replace_pattern? <10> like, use the found match in the replace pattern <8> not sure on what you mean <10> lets think i have a bunch of urls, everyone one of them end with "kahlua.htm"... so, i want to search for urls which have /(\d+?)/kahlua and replace those with /(\d+?) <10> -one <10> uh, *htm <10> the point is, i want to replace the found match with part of the match, random positive amount of digits in this case <10> you following me, th3dge? <8> O_O <9> I think your nick is telling what you are <9> =] <10> uh :) <10> hmm.. what stage you dont get? <8> what you are trying to replace <8> you try to replace kahlua with a random string of numbers? <8> oh I see <8> ;puts "hi" <11> th3dge: #960 (stdout) hi <10> eeeh <8> ;set string "http://babhaha/1234/kahlua.htm" <11> th3dge: #962 (175 clicks) Tcl: http://babhaha/1234/kahlua.htm <8> ;puts [regexp {/([0-9]+)/kahlua\.htm} $string] <11> th3dge: #963 (stdout) 1 <8> ;regexp {/([0-9]+)/kahlua\.htm} $string number ; puts $number <11> th3dge: #964 (stdout) /1234/kahlua.htm <8> ;regexp {/([0-9]+)/kahlua\.htm} $string - number ; puts $number <11> th3dge: #965 (stdout) 1234 <8> something in that direction <10> so i should forget using the regsub? <8> and you want to replace the kahlua with that number? <10> oh no, i just want to get rid of it <8> huh? <10> and only when there are digits in front of it like /1234/kahlua <8> so what are you TRYING to do then? <8> lol <8> what do you want to get <8> out of that <8> URL <10> regsubbing /1234/kahlua would return /1234 <10> hmm.. <8> why not cut the last part off then? <10> because there are last parts i dont want to cut :) <8> so you just want to remove, what? kahlua <8> the file can be for example kahlua23432.htm ? <8> post me <8> before URL, and after URL <8> lol <10> yea, but the kahlua was just an example <8> well try to be more precise cuz I really dont get what your trying to do <10> http://www.google.com/12312/lookathis.html -> http://www.google.com/12312 <8> so just remove .html ? <8> I mean <8> the filename <8> :P <10> i think i'll try that regexp you put here <10> th3dge, there are .htm's too <10> well, thinking example, there can be anything under /12312/ <8> ah <8> I see now <8> so you just want first folder? <8> name <8> uh? <8> :P <8> like this <8> ;set string "http://www.google.com/12312/lookathis.html" <11> th3dge: #1003 (147 clicks) Tcl: http://www.google.com/12312/lookathis.html <8> ;lindex [split $string /] 3 <11> th3dge: #1004 (209 clicks) Tcl: 12312 <8> gotta run
Return to
#tcl or Go to some related
logs:
everybady talking tab #stocks grep and previous 10 lines #politics Avi Orstein #mirc #windowsxp #flash #politics #politics
|
|