I'm having trouble getting grep color to work correctly in bash. Instead of highlighting it inserts [01;31me[K
and [me[Ke
into the text output.
Example:
echo "AAAA
TTTT" > test.txt
grep --color=always -E "^|AAAA" test.txt
Output:
## e[01;31me[KAAAAe[me[K
## e[01;31me[Ke[me[KTTTT