Gentoo Archives: gentoo-user

From: felix@×××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] print side-by-side diff w/ highlighting?
Date: Fri, 14 Aug 2009 23:08:52
Message-Id: 20090814230840.GA8402@crowfix.com
In Reply to: [gentoo-user] print side-by-side diff w/ highlighting? by Grant Edwards
1 On Fri, Aug 14, 2009 at 05:56:03PM +0000, Grant Edwards wrote:
2 > I'm trying to find some sort of side-by-side diff that will
3 > highlight the differences and produce pritable output (e.g.
4 > html or postscript).
5 >
6 > I've found tools to "colorize" diff output, but not for
7 > side-by-side. I've found tools to display side-by-side
8 > differences with hightlights, but they can't print.
9 >
10 > How do I print side-by-side diff with changes hightlighted
11 > (e.g. bold or colored)?
12
13 Emacs has ediff-files and ediff-buffers commands which colorize the
14 individual changes within each line, altho they seem to be word based
15 rather than character, such that if only a single character is
16 different, it will highlight the entire word containing that character.
17
18 I do not know how to print from it, however; it is interactive. There
19 may be some obscure command, but since I haven't had or used a
20 functioning printer in years, I don't know.
21
22 --
23 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
24 Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com
25 GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
26 I've found a solution to Fermat's Last Theorem but I see I've run out of room o