Debian Bug report logs - #396485
diff & sdiff: please allow full-color output

version graph

Package: diffutils; Maintainer for diffutils is Santiago Vila <sanvila@debian.org>; Source for diffutils is src:diffutils (PTS, buildd, popcon).

Reported by: "Jason Spiro" <jasonspiro4@gmail.com>

Date: Wed, 1 Nov 2006 01:03:01 UTC

Severity: wishlist

Tags: upstream

Fixed in version diffutils/1:3.5-1

Done: Santiago Vila <sanvila@debian.org>

Bug is archived. No further changes may be made.

Forwarded to bug-gnu-utils@gnu.org

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@debian.org>:
Bug#396485; Package diff. (full text, mbox, link).


Acknowledgement sent to "Jason Spiro" <jasonspiro4@gmail.com>:
New Bug report received and forwarded. Copy sent to Santiago Vila <sanvila@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Jason Spiro" <jasonspiro4@gmail.com>
To: submit@bugs.debian.org
Subject: diff & sdiff: please allow full-color output
Date: Tue, 31 Oct 2006 19:51:18 -0500
Package: diff
Version: 2.8.7
Severity: wishlist

It would be great if diff and/or sdiff could show their output in color.

You could add an option like -V, for "view color", for the feature. Or
you could add a --color=auto switch like in ls. Or, you could pick the
most convenient option for the most users: you could show color
automatically if stdout is an interactive terminal as opposed to a
pipe. (This way even people who don't know about the new option will
automatically find out about it.)

(When I view diffs in vim, they show up in color. Lines like "3a2,3"
are yellowish-brown, "<" lines are magenta, and ">" lines are cyan.
But to see this wonderful effect, I must open the diffs in vim. GNU
diff and sdiff have no such feature.)

P.S. Thanks for writing / packaging the diffutils. I use them
constantly and they always work well for me.

-- 
Jason Spiro: computer consulting with a smile.
I also provide training and spyware removal services for homes and businesses.
Call or email for a FREE 5-minute consultation. Satisfaction guaranteed.
416-781-5938 / Email: info@jspiro.com / MSN: jasonspiro@hotmail.com



Reply sent to Santiago Vila <sanvila@unex.es>:
You have marked Bug as forwarded. (full text, mbox, link).


Message #8 received at 396485-forwarded@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: bug-gnu-utils@gnu.org
Cc: 396485-forwarded@bugs.debian.org, Jason Spiro <jasonspiro4@gmail.com>
Subject: Bug#396485: diff & sdiff: please allow full-color output (fwd)
Date: Wed, 15 Nov 2006 13:12:26 +0100 (CET)
Hello.

I received this from the Debian bug system:

---------- Forwarded message ----------
From: Jason Spiro <jasonspiro4@gmail.com>
To: submit@bugs.debian.org
Date: Tue, 31 Oct 2006 19:51:18 -0500
Subject: diff & sdiff: please allow full-color output

Package: diff
Version: 2.8.7
Severity: wishlist

It would be great if diff and/or sdiff could show their output in color.

You could add an option like -V, for "view color", for the feature. Or
you could add a --color=auto switch like in ls. Or, you could pick the
most convenient option for the most users: you could show color
automatically if stdout is an interactive terminal as opposed to a
pipe. (This way even people who don't know about the new option will
automatically find out about it.)

(When I view diffs in vim, they show up in color. Lines like "3a2,3"
are yellowish-brown, "<" lines are magenta, and ">" lines are cyan.
But to see this wonderful effect, I must open the diffs in vim. GNU
diff and sdiff have no such feature.)

P.S. Thanks for writing / packaging the diffutils. I use them
constantly and they always work well for me.

-- 
Jason Spiro: computer consulting with a smile.
I also provide training and spyware removal services for homes and businesses.
Call or email for a FREE 5-minute consultation. Satisfaction guaranteed.
416-781-5938 / Email: info@jspiro.com / MSN: jasonspiro@hotmail.com



Message #9 received at 396485-forwarded@bugs.debian.org (full text, mbox, reply):

From: Dan Hipschman <dsh@linux.ucla.edu>
To: Santiago Vila <sanvila@unex.es>
Cc: bug-gnu-utils@gnu.org, Jason Spiro <jasonspiro4@gmail.com>, 396485-forwarded@bugs.debian.org
Subject: Re: Bug#396485: diff & sdiff: please allow full-color output (fwd)
Date: Wed, 15 Nov 2006 12:54:34 -0800
On Wed, Nov 15, 2006 at 01:12:26PM +0100, Santiago Vila wrote:
> You could add an option like -V, for "view color", for the feature. Or
> you could add a --color=auto switch like in ls. Or, you could pick the
> most convenient option for the most users: you could show color
> automatically if stdout is an interactive terminal as opposed to a
> pipe. (This way even people who don't know about the new option will
> automatically find out about it.)

It seems like a small perl script could accomplish the same effect more
modularly, like colorgcc does (you could probably just modify that
script).  That way you could even color the output from "cvs diff", or
"git-diff" or whatever.  For example:

$ diff foo bar | colordiff
...




Bug reassigned from package 'diff' to 'diffutils'. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Sat, 29 Aug 2009 12:33:46 GMT) (full text, mbox, link).


Bug No longer marked as found in versions 2.8.7. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Sat, 29 Aug 2009 12:33:47 GMT) (full text, mbox, link).


Added tag(s) upstream. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Sun, 16 Oct 2011 15:51:13 GMT) (full text, mbox, link).


Reply sent to Santiago Vila <sanvila@debian.org>:
You have taken responsibility. (Wed, 31 Aug 2016 22:24:16 GMT) (full text, mbox, link).


Notification sent to "Jason Spiro" <jasonspiro4@gmail.com>:
Bug acknowledged by developer. (Wed, 31 Aug 2016 22:24:16 GMT) (full text, mbox, link).


Message #22 received at 396485-close@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: 396485-close@bugs.debian.org
Subject: Bug#396485: fixed in diffutils 1:3.5-1
Date: Wed, 31 Aug 2016 22:21:50 +0000
Source: diffutils
Source-Version: 1:3.5-1

We believe that the bug you reported is fixed in the latest version of
diffutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 396485@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated diffutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 31 Aug 2016 23:01:00 +0100
Source: diffutils
Binary: diffutils diffutils-doc
Architecture: source
Version: 1:3.5-1
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <sanvila@debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Description:
 diffutils  - File comparison utilities
 diffutils-doc - Documentation for GNU diffutils in HTML format
Closes: 396485 737180 804544
Changes:
 diffutils (1:3.5-1) unstable; urgency=low
 .
   * New upstream release.
   * Drop all patches, as none of them is required anymore.
   * There are now --color and --palette options. Closes: #396485.
   * Exit status of diff for binary files that differ is now 1, not 2,
     as mandated by POSIX. Closes: #737180.
   * Option --no-dereference is now documented in manpage. Closes: #804544.
Checksums-Sha1:
 d52224f7949fd0f8a54703dbb07c15bfcc7f8ffd 1438 diffutils_3.5-1.dsc
 1169cce8eaaf7290dc087d65db7ed75de0dceb93 1360996 diffutils_3.5.orig.tar.xz
 142e7536103411d9fc77a0ae2c20003fe555f111 10436 diffutils_3.5-1.debian.tar.xz
Checksums-Sha256:
 a7ae6d0ac3bd114211e0526784e99866072a08ee89b3984786d22b0f03cf83c4 1438 diffutils_3.5-1.dsc
 dad398ccd5b9faca6b0ab219a036453f62a602a56203ac659b43e889bec35533 1360996 diffutils_3.5.orig.tar.xz
 fd5115182ba8880ed8dcb5c62af9ef5f8b5410c2f35b026298cc405bac5b73e0 10436 diffutils_3.5-1.debian.tar.xz
Files:
 72680c49b9187593471d8f67c65e15e1 1438 utils required diffutils_3.5-1.dsc
 569354697ff1cfc9a9de3781361015fa 1360996 utils required diffutils_3.5.orig.tar.xz
 ce964dc6b4462e208b7a781fbe6ac7de 10436 utils required diffutils_3.5-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXx1RjAAoJEEHOfwufG4sysOkH/RGY6x3mJyoKuK/pU4y6pTez
4PpkvJj8x9jmg2MViCEoA/KrqcPm4mP4UdS8HEwigyz431Z/M8xMnG22yVkZP53i
upgBr42/diQbuyNWRXRvN5VV+Gqb67rwHK7Ei8agOuTHPKcUSlp07hCLDtmWgLkB
HrNwshaKN+HeR5g+EXzkc1Rcg2rME/rsTBzq1dkzK5BQmM4+hsDitFhOCA+yS3+i
LJ9gYkx0c/T7kj3pmYUYXHl2ykvSCX09qwPGwkJ3vPU1JJpSFYyMltbXAgeaBhY3
6n0lKf8ksO94BuU9RwvsbzW9IFp7GpiS0OuPP5Awg13jvTX+V+BE/uHEhORsfvo=
=I4EX
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 02 Nov 2016 07:31:52 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 03:43:14 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.