GNU bug report logs - #28102
Bug when using the --color option

Previous Next

Package: grep;

Reported by: Jason P Thurman <jason.thurman <at> gm.com>

Date: Tue, 15 Aug 2017 19:53:02 UTC

Severity: normal

Tags: moreinfo

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 28102 <at> debbugs.gnu.org (full text, mbox):

From: josef radinger <cheese <at> nosuchhost.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Jason P Thurman <jason.thurman <at> gm.com>, 28102 <at> debbugs.gnu.org
Subject: Re: bug#28102: additional examples
Date: Sun, 03 Nov 2019 20:39:33 +0100
thanks
checked with 2 other terminals (xfce terminal and terminator). both
work OK.

joe

On Sat, 2019-11-02 at 09:22 -0700, Paul Eggert wrote:
> 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.
> 





This bug report was last modified 5 years and 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.