One option that can set you up,
sdiff : side by side diff files.
sdiff -o merged.file left.file right.file
After that, it will tell you which lines you want to save from which file. Click ? and then enter for a little help. Also man sdiff with detailed items.
(In my distribution, they come in the diffutils package [fedora, centos])
If you need to automate the process, you can try the merge utility, which will flag conflicts in files. However, this may return you to the square.
dougBTV
source share