#!/bin/sh

if [ $# -gt 0 ]; then 
	f=$1; shift
elif [ -f ~/duplink.log ]; then
	f=~/duplink.log
else 
	echo "No duplink*.log file found."
	exit 1
fi
echo `egrep -c ' -> ' $f` links
egrep ' -> ' $f |tail
grep 'files of size' $f |tail -11
