I'm a big fan of meld - a visual diff and merge tool for Gnome. It shows two files (or directories) side by side with their differences highlighted and I can easily select which parts I want to move from one file to the other.

I'm looking for a similar tool but it should work on the (linux) console, eg. do not require any X server. Maybe using a ncurses interface.

Is there such tool?

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

Ah just found out about vimdiff. It pretty much does what I was looking for. here's a quick guide

link|improve this answer
@How to merge/copy changes from on file to another using vimdiff or vim -d – goldenmean Nov 16 '10 at 15:12
feedback

You can use vim -d file1 file2 for that.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.