I’m trying to make a progress bar dialog like GNU/Linux Xdialog –gauge Apparently you should get a value, which is updated for ‘one second’, from time to time. This increment is done through a for loop already pre-configured to give the progressive count. From my tests I did, and how far my knowledge of tcl/tk could go is like this:
Tag: progress
Redirecting pv output to file
I’m using the pv utility to asses the speed of log entries being added in a log file, like this: This outputs the addition speed and refreshes every 5 sec: Now, I would like to redirect the current value (“10”) to a file and refresh it every 5s. Not append it, just overwrite the previous value in the file. Any