Re: Exit status not reflecting 404 with --fail
Paul Gilmartin via curl-users <[email protected]>
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
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.html