Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's possible to detect whether stdin or stdout is attached to a terminal, and do something different depending.


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

Search: