nginx/1.17.3, GNU grep 2.27 and xterm-256color capable terminal (Xfce terminal) for some reason doesn't provide colored matches in its output. I've tried this:
- nginx -V | grep brotli -o --color=always -C9999
- nginx -V | grep -o --color=always -C9999 brotli
- nginx -V | grep --color=always -C9999 brotli
- nginx -V | grep brotli --color=always -C9999
- nginx -V | grep brotli -o --color=always
- nginx -V | grep -o --color=always brotli
- nginx -V | grep --color=always brotli
- nginx -V | grep brotli --color=always
But it simply doesn't highlight text, only meaningless wall of white text that is nginx compile options. $PS1 is colored, so terminal isn't inherently broken!