title ctee
section 1
project bgscripts-core
volume General Commands Manual
date April 2020
=====
NAME
  ctee - color tee
SYNOPSIS
  some-command | ctee [-auV] [-d </dev/tty1>] [outfile1]
OPTIONS
  -a --append    Set CTEE_APPEND=1
  -n --noappend  Set CTEE_APPEND=0
  -d /dev/pts/5  Set CTEE_DEBUG_TTY
  -u             Show help message
  -V             Show version number
  outfile1
ENVIRONMENT
  CTEE_APPEND={0,1}  If 1, append. Default behavior is overwrite.
  CTEE_DEBUG_TTY     Output debug info to this file or special device. Default is /dev/null.
DESCRIPTION
  Send color output to terminal and uncolorized output to outfile1. Color is useful in the terminal, but messy in files.

  Using `unbuffer(1)` helps with getting colorized output to a pipe.
AUTHOR
  Ben Stack <bgstack15@gmail.com>
COPYRIGHT
  CC-BY-SA 4.0
SEE ALSO
  `unbuffer(1)`
