[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30525: Unexpected matches for input data from a patch file

From: SF Markus Elfring
Subject: bug#30525: Unexpected matches for input data from a patch file
Date: Thu, 1 Mar 2018 08:52:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

> and this is the correct answer.

This view is appropriate for the core functionality.

>> * Does the tool “grep” output any extra colour information also for
>>    matched tab characters?
> Not with that test case, no.

I am still unsure.

> There is no color information at all.

I suggest to take another look there.

> grep's --color option was not used.

The matched characters are marked in red (for other search patterns)
on my test system even if this command parameter is not passed explicitly.
It seems that it belongs to my default configuration for this program.

Will the visual representation change anywhere (because of escape sequences)
if you add it?

> As near as I can make out, the basic problem is
> that you didn't understand how grep is supposed to work,
> and reported its behavior as a bug.

My application knowledge was improvable.

> However, as far as I can see from the above example,
> grep is working as specified.

I got doubts from auxiliary functionality of match colouring.
There are further challenges to consider for special characters.

Would it make sense to replace them by printable variants?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]