News for hackers. Stuff that matters.
Re:Show HN: Grep with colours written in Go by notinventedhear on Wednesday June 06, 2018 @08:22AM (#17246416)
+1 for NO_COLOR.

For example, yellow text on a dull yellow background? No thanks.

For years I've just wrapped commands on bash to strip the colour control-codes from stdout.

function monochrome() { "$@" | sed -r "s/[[:cntrl:]]\[[0-9]{1,3}m//g" }

There are no comments on this comment yet.