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 Mike Lewis 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. onedreamcloser

    TCL: how to return an array ?

    thank you thacoda! you are right!
  2. onedreamcloser

    TCL: how to return an array ?

    hello All, please find below a snippet of code that passes an array, manipulates the array, but i cannot return the new version of array. here is the snippet : proc get_mroute_active { &multicast } { upvar ${&multicast} MULTICAST ; set group -1 ...
  3. onedreamcloser

    conditional string substitution

    regsub -all -line -- {^(Description:.*)Loopback} $itext {\1Lo} itext is the solution :)
  4. onedreamcloser

    conditional string substitution

    Hello All, Given that I have a huge string, let's say 1000 lines, and let's name that string like "itext". And I am only interested in those lines in "itext" that contain the word "Description:". And make, for example, the following substitution ONLY on the line containing the string...
  5. onedreamcloser

    Tcl: how to split string by blank lines

    thank you very much Marcel! it worked!
  6. onedreamcloser

    Tcl: how to split string by blank lines

    hello All, could you please help me split a string into a list using as a delimiter a blank line ? split using "\n\n" doesn't seem to work. an example of such a string is the following : Group: 1.1.1.1, (?) Source: 2.2.2.2 (?) Rate: 5382 pps/58470 kbps(1sec), 58469 kbps(last 30 secs)...

Part and Inventory Search

Back
Top