Chris@215: #!/bin/bash Chris@215: echo Args are: $@ 1>&2 Chris@215: if [ "$#" -lt 3 ]; then Chris@215: echo Insufficient arguments: $@ Chris@215: exit 2 Chris@215: fi Chris@215: while [ "$#" -gt 3 ]; do Chris@215: shift Chris@215: done Chris@215: /Developer/Applications/Utilities/FileMerge.app/Contents/MacOS/FileMerge \ Chris@215: -left "$1" -merge "$1" -ancestor "$2" -right "$3" Chris@215: