' > ${base}.html
if [ -s ${base}.notes ]; then
echo '
' >> ${base}.html
fi
echo '
' >> ${base}.html
cat ${base}.notes >> ${base}.html
echo '' >> ${base}.html
fi
if [ -s $file ]; then
echo '
| Key | Action | Notes |
| $key | $action | ${notes:- } |