> I believe there are actually several different issues here,
Yes. - I agree.
> perhaps it's worth stating them explicitly to ensure we're
> on the same page.
I thank you for your very detailed answer.
> Grep's default coloring is red text and default background.
This setting can be fine in
Hi,
[[:space:]] includes the following unicode character.
http://www.fileformat.info/info/unicode/char/00a0/index.htm
$ echo 'a b' | grep 'a[[:space:]]b'
a b
$ echo 'a b'|xxd
: 61c2 a062 0a a..b.
Where is this info documented for grep?
Are these all the possi
On 03/02/2018 09:23 AM, Peng Yu wrote:
Where is this info documented for grep?
It's not documented for grep because it's not part of grep. It's part of
your locale.
tags 30681 notabug
stop
On Fri, Mar 2, 2018 at 2:32 PM, Paul Eggert wrote:
> On 03/02/2018 09:23 AM, Peng Yu wrote:
>>
>> Where is this info documented for grep?
>
> It's not documented for grep because it's not part of grep. It's part of
> your locale.
You can check for yourself.
In every one o
Hi,
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 characters before and after it. But the 3 characters before