Skip to content

Instantly share code, notes, and snippets.

@sparr

sparr/out

Created Mar 7, 2019
Embed
What would you like to do?
curl outputs first line of stats separately
-> Downloading v25.4.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 120 0 120 0 0 330 0 --:--:-- --:--:-- --:--:-- 329
100 5735k 0 5735k 0 0 2567k 0 --:--:-- 0:00:02 --:--:-- 3574k
-> Downloading itch-setup...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 639 100 639 0 0 919 0 --:--:-- --:--:-- --:--:-- 919
100 5905k 100 5905k 0 0 4067k 0 0:00:01 0:00:01 --:--:-- 8297k
...329 and ...919 lines are the very first line of output for each download.
After that, all future lines overwrite each other as they should, so the
...3547k and ...8297k lines are the last line of output for each download
and have replaced many previous lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment