Curl progress meter and bar problem. It duplicate data

Viewed 189

I have script that final stage is download files with curl. I need to show progress of downloading. When I type on terminal curl -# $url - O it work good. I use it with

while read line
do
"curl code"
done <url

In that case it start filling my screen with #. Default progress meter do that to. It start filling my screen with progress data. here is picture if you dont understand

progress bar

In curl documentation there writed that they fixed it.

İf I can't solve this problem how I can show only percentage of progress? It can cuted with sed but i don't know how.

1 Answers
Related