Top "Tcl" questions

Tool Command Language was invented by John Ousterhout as a way to make it easy to write little languages for configuring EDA tools, but it has grown far beyond those humble beginnings to become a general scripting language with built-in asynchronous I/O and Unicode strings while supporting paradigms such as object-oriented programming and coroutines.

Do a tail -F until matching a pattern

I want to do a tail -F on a file until matching a pattern. I found a way using awk, …

shell sed awk tcl tail
How to print in a tabular format in tcl?

I am trying to print the data in a tabular format in tcl. Suppose I have three arrays:- GOLD, …

format tcl
How to get path of current script?

Sometimes its needed to get current path of a script. What are the ways to do that?

tcl
How to Print the Contents of an Array in Tcl

I want to print the contents of an array in Tcl (for debugging). The order is unimportant, I just want …

tcl
Setting environment variables from within TCL script

I was creating a Tcl script which will allow me to automate the installation of software. But the problem I …

tcl environment-variables
Terminating spawn sessions in expect

I'm trying to address an issue with an Expect script that logs into a very large number of devices (thousands). …

session tcl expect telnet spawn
Understanding the usage of braces

I'm learning Tcl/Tk and am confused on the usage of curly braces in tcl. To me it seems to …

tcl
TCL - how to know how much time a function has worked?

Say I have a proc and the proc consists of several statements and function calls. How I can know how …

time timestamp tcl proc-object
Writing procedures in TCL

I am very new for TCL. Just I want to know that how to write TCL procedures without argument and …

tcl
Any difference between "send_user" and "puts" in Expect?

I've been using Expect for a few years, but still it's not clear to me if send_user is the …

tcl expect