GNU bug report logs - #36842
Bug when colors and -C used together

Previous Next

Package: diffutils;

Reported by: Alex Meiburg <Alex.Meiburg <at> Oculus.com>

Date: Mon, 29 Jul 2019 20:54:02 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


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

From: Alex Meiburg <Alex.Meiburg <at> Oculus.com>
To: "bug-diffutils <at> gnu.org" <bug-diffutils <at> gnu.org>
Subject: Bug when colors and -C used together
Date: Mon, 29 Jul 2019 20:42:29 +0000
[Message part 1 (text/plain, inline)]
Hello! I'd like to report a bug. I'm running version "diff (GNU diffutils) 3.6, Copyright (C) 2017 Free Software Foundation, Inc.". When I run it with --color=always and -C1, the wrong lines are highlighted: it highlights the lines that _would have_ been the line numbers of output if no context was enabled, but since there are extra lines of output, it's highlighting the wrong lines.


Best,

Alex Meiburg
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 271 days ago.

Previous Next


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