This should work?
curl --dump-header /dev/fd/xxx https://google.com
mkfifo headers.out curl --dump-header headers.out https://google.com
Ah yeah, `/dev/fd/xxx` works :) somehow thought that was Linux only.
Ah yeah, `/dev/fd/xxx` works :) somehow thought that was Linux only.