#!/bin/sh # prints out logs that are in dir1 but not in dir2 if [ $# != 2 ]; then echo "usage: $0 dir1 dir2" exit 1 fi here=$(pwd) dir1=$1 dir2=$2 fdir1=$here/$dir1 fdir2=$here/$dir2 ldir2=$(cd $fdir2; pwd | sed -e 's/e\./a./') of=$here/$dir1-$dir2.html echo "
Log |
---|
" >>$of echo -n "" >>$of echo -n $(basename $1 .log) >>$of echo -n "" >>$of echo " |