Comment by stabbles
21 hours ago
Would be nice if `curl` had something to dump headers to a third file descriptor while outputting the response on stdout.
21 hours ago
Would be nice if `curl` had something to dump headers to a third file descriptor while outputting the response on stdout.
This should work?
or
unless I'm misunderstanding you.
Ah yeah, `/dev/fd/xxx` works :) somehow thought that was Linux only.
(Principal Skinner voice) Ah, it's a Bash expression!