#!/bin/bash

if [ -z "$2" ]; then
  echo "Usage: $0 file1 file2"
  exit 0
fi

tmp1=`mktemp`
tmp2=`mktemp`

db4dump $1 > $tmp1
db4dump $2 > $tmp2
diff -u $tmp1 $tmp2
