I have a .csv file with below data I need to read the above .csv file from disk, process it and display it's summary as below. How do I convert the ...
I have a .csv file with below data I need to read the above .csv file from disk, process it and display it's summary as below. How do I convert the ...
I have to run multiple chunks of expect script inside the shell script. In between each expect scripts, I have to run shell code. Below is conceptual ...
I have a file with data in below format I want to search for pattern *bit_top*FDIO* and *bit_top*REDEIO*in the file in each line and delete the com ...
I am writing a Tcl/Tk interface to communicate with a temperature controller over Modbus. I would like to periodically (ie. every 5-10s or so) send a ...
I'm currently using the Image Lib Img 1.4.14 which does anything I ever wanted from a graphics LIB :) However, I encounter just one problem while usi ...
So I thought I understood how the TCL upvar command worked, but for some reason I cannot seem to trace why this code generates an error - On runnin ...
I'm looking for a regsub example that does the following: Yes, I could use string first to find a position and mash things but I saw in past a regs ...
I am new to tcl programming, I am reading a csv file however the rows can contain a space. But tcl splits on spaces. how to ignore that default behavi ...
I have 2 scripts listing file 1.mac: listing file 2.mac: first macro calls second macro after run file 2.mac, in 1.mac variable $c has value f ...
I have some string with format and I want to use regexp to get value of these string Expected answer: And here's my cmd: But the answer is n ...
My list : Desired output : What I’ve tried so far: It works , but I've used many regsub command. Is it possible to limit them ? or a differen ...
I'm trying to find a place from the input text and set the number after the = as a variable. Unfortunately, what is wrong output With my code, the ma ...
let's say you have a TCL procedure ProcA and a TCL script ScrpB. ProcA sources ScrpB. How can I know, from within ScrpB, that ProcA sourced it? Thank ...
For ex=> set a 123/345/567/2345 , now i want to remove 123 and keep rest expected output is 345/567/2345 How to do this in tcl without the use of ...
for some time I am struggling to get the exit code of a script which I am running from within expect. It is a BASH script and the questionable part lo ...
For a given tcl user-defined command (for instance, "user_command -switch_A -switch_B") I would like to get all the possible sub-commands/switches to ...
With the "join" command I've assumed tcl would merge a list of elements into a single string with delimiter. However this is not what I see at my ter ...
small script that should return line values but does not the output im trying o save looks li this from normal gatt to address tried pipe'n outp ...
Consider the following code: Resulting output: So, changing logproc for a parent kinda propagates to a child logger, but produces a bug. I can w ...
How to convert the following listbox python code in to Tcl/Tk? from tkinter import * root = Tk() root.title("Dude0") root.geometry("400x400") my_li ...