kdiff3 is a GUI comparison tool that allows you to create diff of two / three files and selectively select which lines make up the combined file. Is there a command line equivalent?
You must try
vimdiff file1 file2
Example:
You can select lines (from command mode to visual) with shift + v , copy with yy , paste with p and switch to files with ctrl + ww
See http://vimdoc.sourceforge.net/htmldoc/diff.html
Yes, vimdiff (link to a quick tutorial) is not bad. As part of VIM, you will need to explore the key touches that you need to accept or discard changes.
Source: https://habr.com/ru/post/1479444/More articles:How to connect to UDP broadcast using GStreamer in C - cWhy am I getting this "bad replacement" error in my bash command? - bashsecure django file permissions - pythonNSTableView Popup Button - CocoaUnion of data frames in R by growth names - rHow can I create more than one page from one page upstream using Moovweb? - mobileJQuery jsonP headers - jqueryHow to encode H.264 video using the FFmpeg C API, and then open the output using a media player? - c ++Add query string to URL with jQuery - jqueryAngularJS: two inputs with a separate ngModel, one update of another value - angularjsAll Articles