Hacker News new | ask | show | jobs
by caarlos0 358 days ago
If you do it right, you can output plain text when stdout is not a tty - which is something fang does, fwiw :)
1 comments

It still tries to put the terminal in raw mode or something. "cmd | less" doesn't work and requires "stty sane". I didn't investigate, but FYI.