3 ms·
Somewhat more common use of this is to check if output goes to terminal so that terminal color codes don't get printed to files.
by Karliss 9y ago
Somewhat more common use of this is to check if output goes to terminal so that terminal color codes don't get printed to files.
- rocqua 9y agoWhich is really annoying when you want to pipe grep to less, and need to add --color=always to get grep to understand less takes color codes (when using less -R).