If I use grep --color=always and it matches on a line that is already
coloured, it results in the text after the match is reset to the
terminal's default colour/attributes. E.g.
This just shows a line with some colour/attributes set:
$ echo The quick brown fox jumps over the lazy dog |
> GRE
The -i switch is slow when searching large files. I haven't dug into
the code in detail, although it seems that dfa.c is trying to build an
intelligent case-agnostic DFA when -i is specified. But that doesn't
seem to be working. Perhaps that's because I'm running the UTF-8
character set? Althou