[Cialug] Detect Pipeline Output

Jeffrey Ollie jeff at ocjtech.us
Tue Aug 16 21:24:18 UTC 2022


https://stackoverflow.com/a/911213

On Tue, Aug 16, 2022 at 10:05 AM Todd Walton <tdwalton at gmail.com> wrote:

> Could someone tell me a good canonical way to detect when a script is
> writing to a pipeline vs the terminal, so I can turn off colors?
>
> --
> Todd
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>


-- 
Jeff Ollie
The majestik møøse is one of the mäni interesting furry animals in Sweden.


More information about the Cialug mailing list