I'm using the following command in a script:
curl -O --time-cond $_input_file_name $_location/$_input_file_name
and it produces a report with this heading:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
but it seems to be sent to error output, even though the transfer has been successful and the return code from curl is zero. Why does it do this? Is there a way to suppress this without suppressing actual error messages? Adding -s or -sS to the curl command doesn't seem to alter this behaviour.
Running the command in a terminal, the -s option does suppress the output. The problem arises only within a script. The script is being triggered in crontab via cronic.
I'm working in Debian 9.1 with curl 7.52.1 (x86_64-pc-linux-gnu).