#!/bin/sh # Tweak the HTML generated by pandoc into the form we want cat ${@+"$@"} | sed '/^$//d'