[gentoo-user] Re: print side-by-side diff w/ highlighting?
On 2009-08-14, Grant Edwards grant.b.edwa...@gmail.com wrote: I'm trying to find some sort of side-by-side diff that will highlight the differences and produce pritable output (e.g. html or postscript). I've found tools to colorize diff output, but not for side-by-side. To be a bit more specific, I've found colordiff but it highlights entire lines rather than just changes, and it doesn't product printable output. -- Grant Edwards grante Yow! I brought my BOWLING at BALL -- and some DRUGS!! visi.com
[gentoo-user] Re: print side-by-side diff w/ highlighting?
On 08/14/2009 08:58 PM, Grant Edwards wrote: On 2009-08-14, Grant Edwardsgrant.b.edwa...@gmail.com wrote: I'm trying to find some sort of side-by-side diff that will highlight the differences and produce pritable output (e.g. html or postscript). I've found tools to colorize diff output, but not for side-by-side. To be a bit more specific, I've found colordiff but it highlights entire lines rather than just changes In diffs, changes are always lines. It's line based, not character based.
[gentoo-user] Re: print side-by-side diff w/ highlighting?
On 2009-08-14, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Fri, Aug 14, 2009 at 12:56 PM, Grant Edwardsgrant.b.edwa...@gmail.com wrote: I'm trying to find some sort of side-by-side diff that will highlight the differences and produce pritable output (e.g. html or postscript). I've found tools to colorize diff output, but not for side-by-side. I've found tools to display side-by-side differences with hightlights, but they can't print. How do I print side-by-side diff with changes hightlighted (e.g. bold or colored)? redirect diff -y to printer? I want changes highlighted. All diff -y does is mark which lines have changed. -- Grant Edwards grante Yow! Quick, sing me the at BUDAPEST NATIONAL ANTHEM!! visi.com
[gentoo-user] Re: print side-by-side diff w/ highlighting?
On 2009-08-14, Nikos Chantziaras rea...@arcor.de wrote: On 08/14/2009 08:58 PM, Grant Edwards wrote: On 2009-08-14, Grant Edwardsgrant.b.edwa...@gmail.com wrote: I'm trying to find some sort of side-by-side diff that will highlight the differences and produce pritable output (e.g. html or postscript). I've found tools to colorize diff output, but not for side-by-side. To be a bit more specific, I've found colordiff but it highlights entire lines rather than just changes In diffs, changes are always lines. It's line based, not character based. Which is why it does't meet my requirements. I want the changes hightlighted. I've found tons of utilties (like meld) that do that on-screen, but I haven't found any that print. -- Grant Edwards grante Yow! I know things about at TROY DONAHUE that can't visi.comeven be PRINTED!!
[gentoo-user] Re: print side-by-side diff w/ highlighting?
On 2009-08-14, Grant Edwards grant.b.edwa...@gmail.com wrote: How do I print side-by-side diff with changes hightlighted (e.g. bold or colored)? FWIW, I couldn't find anything, so I wrote my own utility. It's not very general purpose since it assumes that there've been only changed lines and no lines inserted/deleted. But, it works for my use-case and it generates either HTML or postscript output. :) -- Grant Edwards grante Yow! What a COINCIDENCE! at I'm an authorized SNOOTS visi.comOF THE STARS dealer!!