Sweet!
Thanks for the help :)
heres exactly what I did.
#read in the whole file as a list of lines
set linelist [split [read $inpid] \n]
#now operate on each line
foreach line $linelist {
if {[string first $comment $line] == -1} {
scan $line %s%s%s%s this_name this_ip...
Hello,
I am reading in a file into a string and then using that to set all sorts of vars. I am trying to add a way to be able to comment lines out with string start, string end, and string replace but I am getting all sorts or weird results. Would anyone please post an example?
Here is the...
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.