#!/bin/sh cat << 'EOF' Altus Metrum Documentation

Altus Metrum Documentation

EOF for i in "$@"; do echo '

' grep '' $i | head -1 | sed -e 's/.*<title>//' -e 's;.*;;' pdf=`basename "$i" .html`.pdf echo 'html' echo 'pdf' echo '

' done cat << 'EOF' EOF