Original post is here: eklausmeier.goip.de
Beyond Compare is a graphical file comparison tool sold by Scooter Software. Its open-source competitors are mainly vimdiff
, and kdiff3
. Its advantage is ease-of-use. While comparing files they can be edited instantly. You can diff complete directory trees.
It is written in Delphi Object Pascal, the source code is not open-source. It runs on Windows, x86 Linux, and OS X. It does not run on ARM, like Raspberry Pi or Odroid, see support for arm processors - like the raspberry pi. The "Standard Edition" costs $30, the "Pro Edition" costs $60. The software is in AUR.
1. Root User Problem. When using it as root-user you must use:
1export QT_GRAPHICSSYSTEM=native
2bcompare
When running
1DIFFPROG=bcompare pacdiff
the screen looks like this:
2. Git Usage. To use Beyond Compare with git difftool
you have to do two things: First you must create an alias bc3
for bcompare
.
1[root /bin]# ln -s bcompare bc3
Second add the following lines to your ~/.gitconfig
file:
1[diff]
2 tool = bc3
3[difftool]
4 prompt = false
5 bc3 = trustExitCode
6[merge]
7 tool = bc3
8[mergetool]
9 bc3 = trustExitCode
Alternatively to above changes in the ~/.gitconfig
file, use the following commands:
1git config --global diff.tool bc3
2git config --global difftool.bc3.trustExitCode true
3git config --global merge.tool bc3
4git config --global mergetool.bc3.trustExitCode true
3. Command-line usage. To compare two output lists generated from two commands:
1bcompare <(ldd /bin/gedit|sort) <(ldd /bin/geany|sort) &