#!/bin/sh
# List current year.week BBS log file (last one in the list)
# Liste le fichier Log BBS en cours (dernier de la liste)
FBBDIR=/var/ax25/fbb/log
LOG="fbblog"
YY=`date +%y`
#
	echo "FBB log dir $FBBDIR"
	if [ -d $FBBDIR ] ; then
		for i in $FBBDIR/$LOG$YY.??; do
    		test -x "$i" || continue
#			echo "Log file = $i"
#			$i
		done
	cat $i | less
	fi
#
	echo "Fichier log = $i"
#
