I tried to run the expect script with the set command and it gave me a error. This is copied from another script file. Usually the set command doesn't have the ( ) around the variable..so is it a correct syntax or I have a wrong tcl version
Thanks
set g(NodeId) [lindex $argv 0]
set g(Card)...
Hello
I need help with replacing string in a text file with another string read from another file.
I have the following
file1
first_line
10.0.0.0 end_of_line mystring
10.0.0.0 end_of_line mystring
10.0.0.0 end_of_line mystring
the_rest
file2
10.1.1.1 next_string
10.1.1.2 next_string...
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.