Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- wget/sftp- style progress bar
December 8, 2008, 4:07 am
rate this thread
I have a list of length operations I need to carry out. For each item
in this list, I want to display current progress on a single line only
(instead of multiple lines per item) as is done by such programs as
wget and sftp.
Now, I can obviously use the <backspace> character to seek to earlier
point on the current line. But before I do all of that manual and ad
hoc computations, I'm wondering if there's any helpful package that
has already though through this problem... so that I deal only in
higher abstractions such as fields, field lengths, left/right
justified field value, truncate field value (vs extend field length if
value is longer), etc.
Re: wget/sftp- style progress bar
Did you check CPAN?
I found this after only a couple of seconds:
which looks to be the sort of thing you want.
- » FAQ 8.33 Is there a way to hide perl's command line from programs such as "ps"?
- — Previous thread in » PERL Discussions