On Wed, 11 Jan 2023, Jeffrey Walton wrote:

I would not put it on the first line. Some folks may be parsing the
first line for a version number using something like:

    curl_version=$(curl -V | head -n 1 | cut -f 2 -d ' ')

Somewhere further down in the stack would probably be a better choice.

Good point. We could also consider making the first two lines get sent to stderr, as it gives the same visual but the command line you show here would work...

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to