MyNixOS website logo
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.

Metadata

Version

1.0

Maintainers (1)

Platforms (21)

    Linux
Show all
  • aarch64-linux
  • armv5tel-linux
  • armv6l-linux
  • armv7a-linux
  • armv7l-linux
  • i686-linux
  • loongarch64-linux
  • m68k-linux
  • microblaze-linux
  • microblazeel-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv64-linux
  • s390-linux
  • s390x-linux
  • x86_64-linux