cURL / Mailing Lists / curl-users / Single Mail

curl-users

patch to enhance --progress-bar

From: Björn Schlögl <mastamind+ml_at_aleph.b3ta.org>
Date: Sun, 23 Nov 2008 13:59:19 +0100

hi

attached is a small patch that adds a new command line option to curl to allow
the user to specify a prefix that will be displays in front of the progress
bar:

curl --progress-bar --output /tmp/x "http://www.google.de/" ->
########################### 100%

curl --progress-bar --progress-bar-prefix "prefix " --output /tmp/x "http://www.google.de/" ->
prefix #################### 100%

the default behavior of curl is not changed with this patch. it is just an
enhancement.
maybe the developers want to apply the patch to curl or at least have some
time to check the code for errors.

thx
björn

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2008-11-23