logoalt Hacker News

homebrewertoday at 8:38 AM1 replyview on HN

This should work?

  curl --dump-header /dev/fd/xxx https://google.com
or

  mkfifo headers.out
  curl --dump-header headers.out https://google.com
unless I'm misunderstanding you.

Replies

stabblestoday at 8:50 AM

Ah yeah, `/dev/fd/xxx` works :) somehow thought that was Linux only.

show 1 reply