Using Expect/TCL to move contents of a text file to an executable file
Could use a little help here. After running a expect script I have some lines of data that are put into a non-executable text file.
From this file I want to be able to extract this data into a executable file where I can use the "if" command to make a conditional expression(s) on this data. Since the length of each data line is long, I figure I can set a "variable" for each one, making it more pratical using them in a "if" statement(s).
I do not understand how to do this from the text file to the executable file that I want to create.
I have looked at a TCL manual but understanding the info in it is not clear.