Skip to content

Instantly share code, notes, and snippets.

@sparr
Created March 7, 2019 21:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sparr/1f6a26b4e2c8308113a34ec050735ffa to your computer and use it in GitHub Desktop.
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