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