bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: diff --color options?


From: Alfred M. Szmidt
Subject: Re: diff --color options?
Date: Tue, 14 Jan 2003 12:25:52 +0100

   GNU diff's current output formats are suitable for monochrome
   displays.  With today's color displays, it would be possible to
   display the same information in a more compact and more
   intelligible way. I would suggest two new output formats for diff,
   each in two variants (--html for HTML output, otherwise xterm/ANSI
   color escape sequences):

I think this should _not_ be implemented directly in diff.  A small
script that handles the formating (one could take the code from
ediff/cvsweb) and coloring should do it.  Would you like to do this?

   Also quite useful would be a variant of the --side-by-side option
   that also works well for large file with few differences,
   i.e. which outputs hunks, like a mix between context diff and
   side-by-side:

Would you like to implement this?




reply via email to

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