Description
Make programs think their stdout is a tty / terminal.
stdoutisatty command makes command think their stdout is a terminal, even if it is actually being piped into another program (e.g. less). This is most useful for preserving user-friendly, colored outputs.
For example, stdoutisatty ls --color=auto | less will always show colored output, despite being piped into a pager.