Alex Rivera | Logout

Any visual diff in Linux console?

Asked 2010-01-02T10:53:28.530
90

Many years ago I used d32 which was available for DOS and Linux.

Is a non-GUI visual diff available for Linux like this one?

Any others than Vim and Emacs (Vim and Emacs are too powerful :-) )

Edit
Report

2 Answers

19

You can try ColorDiff.

answered 2010-01-02T11:04:28.303
3

Your title mentions "Linux console" but your question mentions meld, which is a GUI application. It might help answerers if you could clarify this.

In GUI apps, meld is still pretty much the standard. It works well, it's reasonably pretty and intuitive.

If you're really limited to using the console (i.e. text-only) then apart from the diff utilities built into editors like vim and emacs you could also try the original command line utility diff. I find it very useful to use the -y option to display files side-by-side, and there are other options I've used to display "unified" diffs and to precisely set the amount of context around matched differences. If you pipe diff's output into less you can browse with fair convenience.

answered 2010-01-02T11:03:11.233

Your Answer