progressbar is a Perl script that will open a window containing a text label and a progress bar.
The progress bar is updated by reading newline-delimited integers from STDIN. In addition, the text label can be updated by writing a string to input. Please note that the series of numbers does not need to be increasing.
When EOF is read from STDIN, or a number equal to or larger than < to > has been read, the progress bar is removed and ': Done' is appended to the string.
ETA is displayed once B samples have been read. This is always recalculated for the last B samples. B is 50 by default and can be adjusted using '-b'. If samples are coming rapidly, within a second, the buffer size is automatically doubled. There is an upper limit of 10 000 on the buffer size.
progressbar [< options >] < from > < to > < description >
Exit at EOF or when progress has reached the end.
-t < string >
Use this string as window title.
-b < int >
The number of elements used to compute timing of expected time of arrival on.
Output version info and exit.