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: Exit status not reflecting 404 with --fail
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Paul Gilmartin via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 27 Nov 2023 07:59:44 -0700
On 11/27/23 07:13:39, Hans Henrik Bergan via curl-users wrote:
> rule of thumb, use `type curl` not `which curl`
> (most often either works, but in some situations, `which curl` could
> output /usr/bin/curl and `type curl` could output `curl is a shell
> builtin` or whatever)
.
I believe that "type curl" will likewise report aliases, that
"which curl" will not.
Because of dueling package managers, I have a script that parses
PATH and reports (ls -l) each instance it finds.
Date: Mon, 27 Nov 2023 07:59:44 -0700
On 11/27/23 07:13:39, Hans Henrik Bergan via curl-users wrote:
> rule of thumb, use `type curl` not `which curl`
> (most often either works, but in some situations, `which curl` could
> output /usr/bin/curl and `type curl` could output `curl is a shell
> builtin` or whatever)
.
I believe that "type curl" will likewise report aliases, that
"which curl" will not.
Because of dueling package managers, I have a script that parses
PATH and reports (ls -l) each instance it finds.
-- gil -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-11-27