Category "tcl"

Hello, I need some help to copy the content of one file to another except from some corrupted lines in tcl

I have a file with some thousands lines with the below format: 1.3.111.2.802.1.1.3.1.6.3.1.2.5.1.2 2 5

How to capture prompt from terminal using Tcl or how can I match prompt with color code?

I want to capture prompt of a remote device. -regexp {[\$\#]\s*$} { # capture the prompt } "[\$#]\s*$" does not work for prompt with color codes.

Ns2 Modify the source code and compile in ns2

I have been trying to modify the TCP source file parameters and I wanted to execute the modified source file in ns2. Can someone give the steps involved to modi

Why are multiple instances of Tk discouraged?

Consider below example: import tkinter as tk root = tk.Tk() root.title("root") other_window = tk.Tk() other_window.title("other_window") root.mainloop() a