Help for this page

Select Code to Download


  1. or download this
    $ cat samefile.c
    /* samefile -- decides whether two files given as arguments are the sa
    +me.
    ...
    $ ./samefile /usr/local/libexec/git-core/git-{diff,commit}; echo $?
    0
    $
    
  2. or download this
    $ test /usr/local/libexec/git-core/git-diff -ef /usr/local/libexec/git
    +-core/git-pull; echo $?
    1
    $ test /usr/local/libexec/git-core/git-diff -ef /usr/local/libexec/git
    +-core/git-commit; echo $?
    0