Leon Meier wrote:
> As of today, the test case [...] still fails in (u)xterm.
> Any resolution in sight?

I tried to reproduce, and indeed, it fails on xterm (without the 'ne' grep
option), but not in gnome-terminal.

Does that mean that this is an xterm bug again and not a grep bug?

See this:
http://wjd.nu/files/2016/07/debian-bug-456943.png?view


This works both in gnome-terminal and xterm:

  python -c 'print(" "*'$COLUMNS'+"1234")' |
    GREP_COLORS=ne grep --color=auto '[1-9]'

This works in gnome-terminal and *fails* in xterm:

  python -c 'print(" "*'$COLUMNS'+"1234")' |
    grep --color=auto '[1-9]'

Versions (Ubuntu, Trusty, latest):

  gnome-terminal 3.6.2-0ubuntu1
  grep 2.16-1
  xterm 297-1ubuntu1

Greetings,
Walter Doekes



Reply via email to