On Fri, 29 May 2026, 5HT2 via curl-users wrote:

See subjectline, I don't see anything documented in curl(1) and trying the somewhat-standardized CLICOLOR / CLICOLOR_FORCE / COLORS / COLORTERM / similar do not appear to affect the output when curl is piped.

curl currently doesn't have such a way. We should add one. Currently it requires the output to be a tty. See:

https://github.com/curl/curl/blob/872c313d7647ac437c83128e6bea7a8ed16cd2ef/src/tool_cb_hdr.c#L523-L527

--

 / daniel.haxx.se || https://rock-solid.curl.dev
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to