#!/bin/sh if test $# -ne 2; then printf %s\\n 'Usage: path/to/markdown2html.sh file.md "Page title"' exit 1 fi cat < $2 EOF markdown "$1" | sed -e 's/^/ /' cat <<'EOF' EOF