Subject: Re: bug#28102: additional examples

From: Paul Eggert <[email-masked]>
Date: Sat, 2 Nov 2019 09:22:46 -0700

On 11/2/19 6:04 AM, josef radinger wrote:
> 3 examples:
> 
> *) grepping for X with in a wide enough xterm
> *) a problematic xterm:
> **) grepping without color -> correct
> **) grepping with color -> missing characters from the result
> 
> pasteing the result shows that there "is" no X in the result.

Surely this is a bug in xterm, not in grep. Try this:

ps auxww | grep --color=always X >foo
cat foo

If you still see the problem, look at foo this way:

od -cx foo

and see what color-change commands 'grep' is issuing.