[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#396485: diff & sdiff: please allow full-color output (fwd)

From: Santiago Vila
Subject: Bug#396485: diff & sdiff: please allow full-color output (fwd)
Date: Wed, 15 Nov 2006 13:12:26 +0100 (CET)


I received this from the Debian bug system:

---------- Forwarded message ----------
From: Jason Spiro <address@hidden>
To: address@hidden
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: address@hidden / MSN: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]