Hacker News new | past | comments | ask | show | jobs | submit login

That's not the same at all, because the nc example dumps the response headers to stdout and the curl example does not.

It's more similar to "curl -i perdu.com", except (on my system? maybe it's non-default) curl colourises the header names when output to a TTY, and prints a progress report to stderr when output to a non-TTY.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: