#!/bin/sh
# Make HTML links to each file in this directory

prefix=`dirname "$0"`
cd `dirname "$0"`
echo "<ul>"
for f in `ls  -d --sort=t  [hp]*`
do
	echo "<li><a href=\"$prefix/$f\">"`echo "$f" | tr "a-z" "A-Z"`"</a>"
	[ -r "$f/due" ] && echo "due "`cat "$f/due"`
	echo "(modified "`stat --format "%y" "$f" | awk '{print $1}'`")"
done
echo "</ul>"
