@@ -1,4 +1,11 @@
-#!/bin/sh
+#!/usr/bin/env bash
+set -euo pipefail
+IFS=$'\n\t'
+
+if [ $# -lt 2 ] ; then
+ echo "$(basename $0) URL MARKDOWN-FILE" >&2
+ exit 1
+fi
URL=$1
MDFILE=$2