Re: Exit status not reflecting 404 with --fail
Petr Pisar via curl-users <[email protected]>
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
V Mon, Nov 27, 2023 at 07:59:44AM -0700, Paul Gilmartin via curl-users napsal(a): > 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. > Bash builtin "type -a" does that. -- Petr -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE4/QvzhVoMKgDWObpT9GuwzZa978FAmVkzS8ACgkQT9GuwzZa 97/kehAAj8qHN1qnMR5b8nouO0c5fnWKJe2oJkTWzWHrRtecvDhpCJNXfyt9zfHk Gvw5kMimQ0H6elT0z+QECwd3PS21tzhM4lKU98fBaMPI99Xz0DlsOt4jDdVUnl3J K9lQbO6ZJKPSwlOJ27rp/8kKVZcGLmnx33TRbC0tq0ynMhHdzEFs6Ubyv72Zi+GV Z1H7y8XknpSSQuqPWlMAkGXKZwbSzyay8e5HUqqwvo6OopxmVv/7aXTgrJfeTqwt PANN2+Akodi9e57fsp82ThbZSS3qesItOC7+1nLfjgGOWXdgVCWrokxZj2PK9jC+ hcBbUGQP0xUcvvZYTQjdUw7LY/do36HR5bne7l54D2oL3KdhWTXEgfSml0eHfNBy o0u7aEHMUE8BhyzmXDGoRwM0xcck/9mu/OOG8f0JL3XefPBrw0vfslzJK9Xt9Eyx 2xFDzo+canbCHyyWuvwGRTEZKmfhrbwiGcreBaLJu3kntpKEGPw0QLItJyHfYuKL hLcriQXXaqVm9V4nELCbvgGEVHXecHZZmPkuTwehpf4B/9Qs2VDc0WgHWou41fd2 YoyO1S6f99bSnndeLsJLfuGOYMB7i1H3DlVEvD+RTaG9d+iDxpEwqz5WgJP7bvl6 0Hk/8Ts/HsbZlwIXuxu5ZdAUcAYGXpT276Onkf35qLZy7FG9eFU= =lHgR -----END PGP SIGNATURE-----