interactive/visual merge tool for console?
Ah just found out about vimdiff. It pretty much does what I was looking for. here's a quick guide
You can use vim -d file1 file2
for that.
sdiff
, a classic command line tool which shows text file differences side by side, also has an interactive merge mode. Use it by running
$ sdiff -o output.txt input1.txt input2.txt
It is the default interactive command line merge tool used by Gentoo Linux' etc-update utility.
Advantages over vimdiff
are ubiquitous availability and much simpler handling.