Hacker News new | ask | show | jobs
by tomjakubowski 2813 days ago
It's possible to detect whether stdin or stdout is attached to a terminal, and do something different depending.