Files
revol/mkindex
Simon Howard aa1dae6faa Add index pages for directories.
Some links point to directories assuming there will be a directory listing,
which I don't think is even true on Sourceforge any more.
2023-08-03 23:53:43 -04:00

15 lines
196 B
Bash

#!/bin/bash
mkhtml() {
echo "<html><body><ul>"
for d in *; do
if [ "$d" != index.html ]; then
echo "<li><a href='$d'>$d</a>"
fi
done
echo "</ul></body></html>"
}
mkhtml > index.html