GNU bug report logs - #20062
[PATCH] diff: add support for --color

Previous Next

Package: diffutils;

Reported by: Giuseppe Scrivano <gscrivan <at> redhat.com>

Date: Sun, 8 Mar 2015 21:57:02 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Grünbacher <agruen <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Giuseppe Scrivano <gscrivan <at> redhat.com>, 20062 <20062 <at> debbugs.gnu.org>
Subject: bug#20062: [bug-diffutils] bug#20062: bug#20062: bug#20062: [PATCH] diff: add support for --color
Date: Sat, 14 Mar 2015 21:55:03 +0100
2015-03-14 21:29 GMT+01:00 Paul Eggert <eggert <at> cs.ucla.edu>:
> 'grep' and 'ls' default to the equivalent of NEVER; shouldn't 'diff' do the
> same?

I think color terminals are the standard nowadays, but if you think
that the default should be 'never', I could live with that. In any
case, the program help text is wrong, too:

>      --color[=WHEN]         colorize the output; WHEN can be 'never', 'always',
>                               or 'auto' (the default)

The default for WHEN is still 'always', but when the option is not
used at all, the default is either 'auto' (my preference) or 'never'.
Confusing ...

Thanks,
Andreas




This bug report was last modified 8 years and 78 days ago.

Previous Next


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