2 # $1 is the top of the manual page tree to look through
7 for m in `find . -name '*.html' | sort`; do
8 description=`grep -F '<!-- OSSL: description:' $m | sed -e 's|^[^:]*: *||' -e 's|^[^:]*: *||' -e 's| *-->||'`
9 # If there isn't a description, it isn't a manpage and should not be
11 if [ "$description" = "" ]; then
14 manfile=`echo $m | sed -e 's|\./||'`
15 manname=`basename $manfile .html`
16 origmanfile=`echo $manfile | sed -e "s|^$subdir|$origsubdir|"`
17 echo "<tr><td><a href=\"$manfile\">$manname</a></td><td>$description</td></tr>"