|
|
1.1 ! root 1: e= ! 2: case $1 in ! 3: -*) ! 4: e=$1 ! 5: shift;; ! 6: esac ! 7: if test $# = 3 -a -f $1 -a -f $2 -a -f $3 ! 8: then ! 9: : ! 10: else ! 11: echo usage: diff3 file1 file2 file3 1>&2 ! 12: exit ! 13: fi ! 14: trap "rm -f /tmp/d3[ab]$$" 0 1 2 13 15 ! 15: diff $1 $3 >/tmp/d3a$$ ! 16: diff $2 $3 >/tmp/d3b$$ ! 17: /usr/lib/diff3 $e /tmp/d3[ab]$$ $1 $2 $3
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.