progressbar

progressbar is a Perl script that will open a window containing a text label and a progress bar.
progressbar is a Perl script that will open a window containing a text label and a progress bar. The labels initial string is given by < description >, and the progress bar is set to show progress in the interval [< from >,< to >].

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.

Usage:

progressbar [< options >] < from > < to > < description >

Options:
-x
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.

-v
Output version info and exit.

last updated on:
August 10th, 2006, 15:08 GMT
price:
FREE!
developed by:
Lars Arvestad
license type:
GPL (GNU General Public License) 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating 1

UNRATED
4.0/5
 

0/5

2 Screenshots
progressbarprogressbar

Add your review!

SUBMIT