curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Accidental debug-enabled version

From: Daniel Stenberg via curl-library <>
Date: Wed, 11 Jan 2023 14:39:47 +0100 (CET)

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

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2023-01-11