Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding the magic where a tcl-script generates another tcl-script

Status
Not open for further replies.

InesW

Technical User
May 14, 2018
5
DE
Hi there,

I am trying to change the timestamp in the logging of a TCL-program (
I have figured out how to deal with the time and I have found the piece of code where the log is written to the logfile. But there is a fly in the ointment:

The piece of code in question lives in a tcl-script (let's call it project.tcl) that has been produced automatically by the original script (woz.tcl) and that I do not want to change manually (because if I do, I would have to do the manual change every time the project changes).

I have gone through a lot of source code of woz.tcl as well as the corresponding sources both by scrolling over the logic and by searching for keywords like "log", ".tcl" and content of project.tcl. My expectation was to find some piece of code in woz.tcl that says something like "create a new file project.tcl and write this and that function and that text in there". I could not find the code where that project.tcl is created. :/

So my question is: Is there anything I should know in general about creating .tcl-files by a .tcl-script? Are there any keywords that could occur? Do you have any other suggestions how I could find the piece of code or whatever magic could be involved?

Thanks, Ines
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top