Using curl, I would like to extract the average speed field into a variable.
However, I can't find a way to both suppress the progress info AND show the final stats.
So I guess we're down to tailing the very last progress line (^M delim) and pulling out the field.
curl -o /dev/null http://download.thinkbroadband.com/1MB.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1024k 100 1024k 0 0 297k 0 0:00:03 0:00:03 --:--:-- 304k
I need 297k extracted.
Any help would be appreciated.