Hacker News new | ask | show | jobs
by badideaprojects 2664 days ago
This post demonstrates detecting the difference between a user piping the output from curl to bash OR curl to stdout.

https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...