Hello,
I've started to write my first TCL script yesterday and it worked quiete well. Except for one issue.
I need to parse a binary file.
So I need to find a certain combination of chars in the file, replace them and save the file.
I used a while{![eof $fid]} construct but the problem is the binary file contains eof chars so that the file is only parsed partially.
Does any of you guys have a good alternative to parse the complete file?
Thanks and regards,
zjeriet
I've started to write my first TCL script yesterday and it worked quiete well. Except for one issue.
I need to parse a binary file.
So I need to find a certain combination of chars in the file, replace them and save the file.
I used a while{![eof $fid]} construct but the problem is the binary file contains eof chars so that the file is only parsed partially.
Does any of you guys have a good alternative to parse the complete file?
Thanks and regards,
zjeriet