2 basedir=$(readlink -f $(dirname $0))
3 files=$(ls *.marc.bz2 *.marc 2>/dev/null |grep -v split |sed 's,\.bz2,,g' | sort | uniq)
9 if [ -f $j -a ! -f $i ]; then
12 if [ -f $i -a ! -f $j ]; then
15 if [ ! -f $i -o ! -f $j ]; then
16 echo "Missing $i or $j"
20 $basedir/stats-distribution.pl $i | tee $s-holding-distribution.csv
21 ls -la $i $j | tee -a $s
22 sha1sum $i $j | tee -a $s
23 marcdump --stats --quiet --noprint $i | tee -a ${s}