#! /bin/sh # Make index.html #binfiles=gcc*tgz gcc*deb gcc*patches*.tar.gz gcc*source*tar.gx binfiles=`ls gcc*tgz gcc*deb gcc*patches*.tar.gz` { cat index.head echo '
' for file in README ChangeLog $binfiles do echo '-rw-r--r-- 1 martin' \ "$(stat --format="%8s %y" $file | sed 's/\..*$//')" \ ''$file'' done echo '' echo '
' md5sum $binfiles echo '' cat index.tail } > index.html