Howdy,
I am a new user of TCL macros with a software package used in house.
The software creates a text file. The first line of the file is supposed to contain both the path and name of a partner file. Due to a bug is the software, the path is not being added to this first line of the test file.
I am not expecting a rapid bug fix for this issue so I need a workaround in the meantime.
I know that the a new file can be created and the 2nd to final line of the text file can be parsed into a new file, but these text files can be very large so avoinding a parsing regimen would be preferred.
Here is an example first line
"l0_grid.str,8148161600;algorithm=standard;fields=x,y"
it should read
"data_files/strings/l0_grid.str,8148161600;algorithm=standard;fields=x,y"
No other lines in the file need to be changed.
Thanks in advance for any suggestions.
Brian
I am a new user of TCL macros with a software package used in house.
The software creates a text file. The first line of the file is supposed to contain both the path and name of a partner file. Due to a bug is the software, the path is not being added to this first line of the test file.
I am not expecting a rapid bug fix for this issue so I need a workaround in the meantime.
I know that the a new file can be created and the 2nd to final line of the text file can be parsed into a new file, but these text files can be very large so avoinding a parsing regimen would be preferred.
Here is an example first line
"l0_grid.str,8148161600;algorithm=standard;fields=x,y"
it should read
"data_files/strings/l0_grid.str,8148161600;algorithm=standard;fields=x,y"
No other lines in the file need to be changed.
Thanks in advance for any suggestions.
Brian