Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tktuffkid

    auto_reset equivalent for incrTcl methods?

    Hello TCL'ers, Does anyone know if there is an "auto_reset" like command that also works on incrTcl methods? It appears that auto_reset only works on libraries and procs. I need something similar for incrTcl methods. If you want the reasoning for my need, continue reading... Thanks in...
  2. tktuffkid

    "Case of the Mondays" Regexp Problem

    Thanks for all the replies. Feherke, your last post is the best approach since it is fool proof. Thank you very much. I wasn't very clear in my post and I apologize. I am not a Linux packaging guy whatsover but I noticed on the product I'm working on is that there are multiple different...
  3. tktuffkid

    "Case of the Mondays" Regexp Problem

    Sorry. I submitted perhaps to early. If you notice above, I am only able to capture '0' from '0.7.8-9'
  4. tktuffkid

    "Case of the Mondays" Regexp Problem

    It's Monday and I'm sure I am doing something stupid with my regexp. But because it's Monday, I am looking for someone to tell me what I am doing wrong. In essence, I am trying to parse out a Linux component string from its version string. Because the component name can contain one or more...
  5. tktuffkid

    Bug in Incr TCL???

    I have a standalone TCL script that invokes a system call of another script. To invoke this, I build a command string using a variable called 'cmd'. To make an extremely long story short (not to mention the countless hours of trying to find a 'global/upvar of cmd'), I found that my cmd...
  6. tktuffkid

    Adding a DNS Child Zone in BIND

    Thanks Noway2. I will give this a whirl when I get a chance. In the meantime, I was able to use BIND's 'forwarders' functionality. If a query comes in for the specified zone, it will forward the request to the authoritative servers listed in the 'forwarders' list. zone "bar.com" {...
  7. tktuffkid

    Adding a DNS Child Zone in BIND

    I have never administered any type of DNS before in my life (until yesterday) so any help would be greatly appreciated. I work for a really small company that owns a domain 'bar.com'. However, I am setting up a test network where I will want to administer my own domain called 'foo.bar.com'...
  8. tktuffkid

    Expect Package breaking good ole 'puts'???

    I have spent the last couple of hours what appeared to be the most trivial of problems. Although I am able to workaround the problem, I am curious as to what is causing the problem... In a nutshell, I had a standalone TCL script that essentially sat in a loop for 512 iterations...printing out...
  9. tktuffkid

    TCL Expect Buffer and SSH Problem?

    That didn't work either. With "exp_internal 1" configured, it does show the command being sent to the spawn_id.
  10. tktuffkid

    TCL Expect Buffer and SSH Problem?

    I am experiencing some unexpected symptoms between Expect and SSH and was wondering if anyone could provide some insight. In a nutshell, I want to create a proc that flushes out the Expect buffer of residual characters from an SSH session. I thought of doing this by merely "expecting" a catch...
  11. tktuffkid

    TCL's handling of "0x" is not what I expected

    Lately, I have been writing procs that handle hexadecimal numbers. And if I understand how the TCL interpreter works, it performs the following in order: 1) Grouping 2) Single round of Substitution 3) Command Invocation While learning TCL, I was confused on how curly braces' literal...

Part and Inventory Search

Back
Top