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 ...
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...
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)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.