#!/bin/sh
if [ $# -gt 0 ]; then
        echo "usage: "`basename $0`
        exit 
fi
YEAR=`date +%y`
if [ -e *-$YEAR*aa ]; then
	FIRST=`ls -1 *-$YEAR*aa`
	FILE=`basename $FIRST aa`.tgz
	cat `ls -1 *-$YEAR*a[a-z]` > $FILE
	tar tvfz $FILE
	ls -l $FILE
	rm `ls -1 *-$YEAR*a[a-z]`
else
	echo no files found.
fi
