bug#30686: How to color matched region but also show the nearby context noncolored in characters or words?

2018-03-03 Thread Bob Proulx
tags 30686 + notabug thanks Peng Yu wrote: > I am looking for a feature similar to -A -B -C but not based on lines, > but based on characters or even words. Is it possible with the current > version of grep? > > In the following example, I'd like to show the matched region as well > as 3 character

bug#30681: What characters are in [[:space:]]?

2018-03-03 Thread Paul Eggert
Jim Meyering wrote: In every one of the 818 locales installed on a Fedora 27 system, I see the same five bytes: Aren't some non-ASCII characters also spaces, in some locales?