#!/bin/sh cd -- `dirname $0` for badword in $(cat BLACKLIST); do if grep $badword *.md; then echo "Documentation contains banned word." exit 1 fi done cat < HTML for file in *.md; do cat $file echo; echo done cat <<HTML
HTML