4 ms·
Yes, sometimes when it's a particularly large transfer I want a progress meter but I normally don't so it's in the way; perhaps when we all had modems. And from
by ralph 14y ago
Yes, sometimes when it's a particularly large transfer I want a progress meter but I normally don't so it's in the way; perhaps when we all had modems. And from a script I'd still want to use -sS instead of -s because although the script is obviously checking curl's exit value the user wants to see curl's specific complaint before the script's own knock-on diagnostic.
$ curl -s does.not.exist; echo $?
6
$ curl -sS does.not.exist; echo $?
curl: (6) Couldn't resolve host 'does.not.exist'
6
$