Package: procps
Version: 2:3.3.9-9
Severity: normal

Dear Maintainer,

watch manpage states that -c or --color would enable color support.

Testcase:
------------------------------------------------------------
$ watch --color -- grep --color=always 127 /etc/hosts

Every 2.0s: grep --color=always 127 /etc/hosts         Tue Nov 15 17:52:34 2016

calhost
------------------------------------------------------------
Instead of showing color, the output gets damaged.

Running just the grep, the output is as expected with 127 highlighted:
------------------------------------------------------------
$ grep --color=always 127 /etc/hosts
127.0.0.1       localhost
------------------------------------------------------------

Bug #830313 seems to be related, but is probably no duplicate
(no segfault for me)


-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages procps depends on:
ii  initscripts   2.88dsf-59
ii  libc6         2.19-18+deb8u6
ii  libncurses5   5.9+20140913-1+b1
ii  libncursesw5  5.9+20140913-1+b1
ii  libprocps3    2:3.3.9-9
ii  libtinfo5     5.9+20140913-1+b1
ii  lsb-base      4.1+Debian13+nmu1

Versions of packages procps recommends:
ii  psmisc  22.21-2

procps suggests no packages.

-- no debconf information

Reply via email to