diff file to side-by-side comparison
folks; is there a linux tool that can either reads from diff generated file and shows the as side-by-side diffs OR reads diff file and create files for side-by-side difference (in some tool)?
-Thanks |
Depending what you have installed for a DE (Desktop environment) on your system, you might have xfdiff4 (I think that's the name; it might be xfdiff or xf4diff too) or Kdiff on KDE environment.
Also, the plain old commandline `diff` command can give you a side-by-side display too, though not quite as usefully as the GUI versions can (i.e. the two sides cannot be scrolled "in async" with each other). Check the man-page for `diff` as there are several switches you can give it to produce a side-by-side output. Sasha |
I'd add tkdiff to the list. It requires Tcl/Tk but I find it very reliable on most systems (from older unix machines to recent distros).
|
diff --side-by-side
|
From the question, I'd assume the OP doesn't have the opportunity to pick a tool. I guessing [s]he has a diff file - only.
A quick sed to change "^>" to "\t\t\t\t\>" might suffice. |
All times are GMT -5. The time now is 04:28 PM. |