3 ms·
Extremely simple, and also wrong. Whether stdout is a pipe or a tty makes differences to programs, sometimes huge differences. For example, when connected to a
by majewsky 9y ago
Extremely simple, and also wrong. Whether stdout is a pipe or a tty makes differences to programs, sometimes huge differences. For example, when connected to a tty, `git log` will use a pager when the output length exceeds the terminal height. With piping, it cannot do that.
- Kenji 9y agoWell then the utility that does this filtering has to pretend it's a TTY.