Applied at the pipe and redirect boundary so downstream consumers receive
plain text, the way programs behind a real shell pipe see no color. This
is a deliberate, documented deviation from the historical behavior, in
which escape bytes leaked into pipes because color detection saw the
terminal regardless of capture.
Strips ANSI escape sequences from text.
Applied at the pipe and redirect boundary so downstream consumers receive plain text, the way programs behind a real shell pipe see no color. This is a deliberate, documented deviation from the historical behavior, in which escape bytes leaked into pipes because color detection saw the terminal regardless of capture.